Bio reads qc mapping
Skill BioTender-max/awesome-bio-agent-skills/skills/omics/bio-reads-qc-mapping
Ingest, QC, and map reads with reproducible outputs. Use for raw read processing and coverage stats.From its SKILL.md
npx -y skills add BioTender-max/awesome-bio-agent-skills --skill bio-reads-qc-mappingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
2.6 KB, 670 tokens by cl100k_base, as published. Nobody here has run it
Bio Reads QC Mapping
Ingest, QC, and map reads with reproducible outputs. Use for raw read processing and coverage stats.
Instructions
- Parse sample sheet and validate inputs.
- For short reads: run QC and adapter/quality trimming with
bbdukorfastpv1.3.3+. - For long reads: trim adapters with
Porechop_ABI(preferred; the originalPorechopis unmaintained and ships stale adapter sets) orPychopperfor full-length cDNA. Filter by quality and length withfiltlongv0.2.1. - Map reads and produce coverage tables:
- Short reads, CPU:
bbmaporbwa-mem2v2.2.1+. Short reads, GPU node available: NVIDIA Parabricksfq2bam(wrapsbwa-mem2+ GATK markdup; typically 3–4× faster thanbwa-mem2on 8 cores and up to ~80× over a 96-core CPU pipeline). - Long reads, CPU:
minimap2v2.30+. AVX-512 hardware:mm2-fastas a drop-in replacement (~1.8× speedup). GPU node available:mm2-gbormm2-axfor CUDA-accelerated long-read alignment.
- Short reads, CPU:
- Record the tool, version, and any GPU device used in the run log.
Quick Reference
| Task | Action |
|---|---|
| Run workflow | Follow the steps in this skill and capture outputs. |
| Validate inputs | Confirm required inputs and reference data exist. |
| Review outputs | Inspect reports and QC gates before proceeding. |
| Tool docs | See docs/README.md. |
Input Requirements
Prerequisites:
- Tools available in the active environment (Pixi/conda/system). See
docs/README.mdfor expected tools. - Sample sheet and reads are available. Inputs:
- sample_sheet.tsv
- reads/*.fastq.gz
- reference.fasta (optional)
Output
- results/bio-reads-qc-mapping/trimmed_reads/
- results/bio-reads-qc-mapping/qc_reports/
- results/bio-reads-qc-mapping/mapping_stats.tsv
- results/bio-reads-qc-mapping/coverage.tsv
- results/bio-reads-qc-mapping/logs/
Quality Gates
- Post-QC read count sanity checks pass.
- Mapping rate meets project thresholds.
- On failure: retry with alternative parameters; if still failing, record in report and exit non-zero.
- Validate sample sheet schema and FASTQ integrity.
Examples
Example 1: Expected input layout
sample_sheet.tsv
reads/*.fastq.gz
reference.fasta (optional)
Troubleshooting
Issue: Missing inputs or reference databases Solution: Verify paths and permissions before running the workflow.
Issue: Low-quality results or failed QC gates Solution: Review reports, adjust parameters, and re-run the affected step.
What ships with it: 9 files
41.9 KB alongside SKILL.md
docs/
- bbduk.md5.1 KB
- bbmap.md5.9 KB
- filtlong.md7.3 KB
- minimap2.md7.1 KB
- porechop_abi.md8.6 KB
- README.md4.6 KB