biotender-max/alignment-and-mapping
Workflow for read alignment, sorting, indexing, mapping statistics, and downstream-ready alignment artifacts.
npx skills add https://github.com/BioTender-max/awesome-bio-agent-skills --skill alignment-and-mapping
Reference examples assume recent stable releases of the preferred tools, especially samtools and the other tools listed below.
Before using code or command patterns, verify installed versions match the environment:
python -c "import <module>; print(<module>.__version__)"<tool> --versionWorkflow for read alignment, sorting, indexing, mapping statistics, and downstream-ready alignment artifacts.
references/technical_reference.md when you need deeper tool-selection rules, environment adaptation notes, or extra validation guidance.SKILL.md as the main execution path and load the reference file only when the task or failure mode needs the extra detail.bwa mem ref.fa sample_R1.fastq.gz sample_R2.fastq.gz | samtools sort -o sample.bam
samtools index sample.bam
samtools flagstat sample.bam > sample.flagstat.txt
Match the aligner to DNA, RNA, read length, and splice-awareness needs.
Capture all parameters that influence multi-mapping, splicing, and scoring.
Sort, index, mark or handle duplicates as appropriate, and compute mapping summaries.
Review alignment rate, insert sizes, and reference compatibility before downstream analysis.
Save BAM or CRAM plus indexes and mapping reports.
results/ for final tables and serialized objectsfigures/ for plots and static visual exportsqc/ for checks that justify downstream interpretationsorted and indexed alignmentsmapping metricsdownstream-ready BAM or CRAM filesSequence And Format IORead QCDatabase AccessReporting And Figure ExportpysamTake biotender-max/alignment-and-mapping from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.