alignment-and-mapping

Automate read alignment workflows to produce sorted, indexed BAM/CRAM files with mapping metrics.

25|5|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/zongtingwei/Bioclaw_Skills_Hub --skill alignment-and-mapping
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alignment-and-mapping
Source: https://github.com/zongtingwei/Bioclaw_Skills_Hub/tree/main/skills/core-bioinformatics/alignment-and-mapping
Command: npx skills add https://github.com/zongtingwei/Bioclaw_Skills_Hub --skill alignment-and-mapping

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Read alignment and artifact preparation pipeline that converts raw sequencing reads into sorted, indexed alignments with mapping statistics ready for downstream analysis.

Core Features & Use Cases

  • End-to-end read alignment and post-processing to produce ready-to-use BAM/CRAM and QC metrics.
  • Flexible workflow supporting common DNA/RNA mapping tools and input formats.
  • Real-world use: process paired-end RNA-Seq data to obtain a clean, indexed alignment and basic QC reports.

Quick Start

Run the alignment workflow on your paired-end FASTQ files against your reference to generate a sorted BAM file.

Frequently Asked Questions about alignment-and-mapping

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate read alignment to generate sorted BAM files from FASTQ inputs?

Automating read alignment involves processing paired-end FASTQ files against a reference genome to produce sorted, indexed BAM/CRAM artifacts. This pipeline handles end-to-end mapping, sorting, and indexing to ensure outputs are ready for downstream analysis.

What's the best way to prepare RNA-Seq data for downstream analysis using STAR or hisat2?

Preparing RNA-Seq data for downstream analysis requires mapping raw reads to a reference transcriptome using tools like STAR or hisat2. The workflow generates sorted, indexed alignment files accompanied by mapping metrics and QC-ready artifacts.

Does this read alignment workflow support both DNA and RNA sequencing data?

This read alignment workflow supports both DNA and RNA sequencing analyses. It flexibly maps reads to reference genomes or transcriptomes using common tools like bwa, bowtie2, hisat2, and STAR, outputting standardized alignment artifacts.

Can I use bwa and bowtie2 for DNA mapping within the same reproducible workflow?

Yes, you can use bwa and bowtie2 for DNA mapping within this flexible workflow. It recommends multiple alignment tools and applies post-processing for sorting, indexing, and generating QC-ready artifacts to ensure full reproducibility.

Do I need reference indexes to produce CRAM files and mapping statistics?

Yes, you need reference genomes and their corresponding indexes as required inputs alongside FASTQ files. The pipeline uses these to generate sorted, indexed CRAM files and accompanying mapping statistics for quality control.

Why does my read alignment pipeline need post-processing with samtools or pysam?

Read alignment pipelines need post-processing with samtools or pysam to sort and index raw alignments. This step converts mapped reads into ready-to-use BAM/CRAM files and generates basic QC reports for downstream reliability.