bio-longread-alignment
Align long reads using minimap2 for Oxford Nanopore and PacBio data. Supports various presets for different read types and applications. Use…
Maintainer FreedomIntelligence · Last updated April 1, 2026
Align short reads to reference genome with BWA-MEM.
Original source
https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/bio-read-alignment-bwa-alignment
Skill Snapshot
Source Doc
bwa-mem2 mem -t 8 reference.fa reads.fq.gz > aligned.sam
## Add read group information (required for GATK)
bwa-mem2 mem -t 8 \
-R '@RG\tID:sample1\tSM:sample1\tPL:ILLUMINA\tLB:lib1' \
reference.fa reads_1.fq.gz reads_2.fq.gz > aligned.sam
bwa-mem2 mem -t 8
-R '@RG\tID:sample1\tSM:sample1\tPL:ILLUMINA'
reference.fa reads_1.fq.gz reads_2.fq.gz |
samtools sort -@ 4 -o aligned.sorted.bam -
Related skills
Align long reads using minimap2 for Oxford Nanopore and PacBio data. Supports various presets for different read types and applications. Use…
Map query cells to reference atlases with scANVI or Symphony.
Bisulfite sequencing read alignment using Bismark with bowtie2/hisat2. Handles genome preparation and produces BAM files with methylation in…
Taxonomic classification of ASVs using reference databases like SILVA, GTDB, or UNITE. Covers naive Bayes classifiers (DADA2, IDTAXA) and ex…