Skip to content
Back to skills

Bio Reads Qc Mapping

ASecurity

Ingest, QC, and map reads with reproducible outputs. Use for raw read processing and coverage stats.

  • 171 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 6, 2026
ai-agentsnodedatabase

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add BioTender-max/awesome-bio-agent-skills --skill bio-reads-qc-mapping --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bio Reads Qc Mapping?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bio Reads Qc Mapping
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/biotender-max-bio-reads-qc-mapping/badge)](https://www.skillsdirectory.com/skills/biotender-max-bio-reads-qc-mapping)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bio-reads-qc-mapping
description: Ingest, QC, and map reads with reproducible outputs. Use for raw read processing and coverage stats.
---

# Bio Reads QC Mapping

Ingest, QC, and map reads with reproducible outputs. Use for raw read processing and coverage stats.

## Instructions

1. Parse sample sheet and validate inputs.
2. For short reads: run QC and adapter/quality trimming with `bbduk` or `fastp` v1.3.3+.
3. For long reads: trim adapters with `Porechop_ABI` (preferred; the original `Porechop` is unmaintained and ships stale adapter sets) or `Pychopper` for full-length cDNA. Filter by quality and length with `filtlong` v0.2.1.
4. Map reads and produce coverage tables:
   - Short reads, CPU: `bbmap` or `bwa-mem2` v2.2.1+. Short reads, GPU node available: NVIDIA Parabricks `fq2bam` (wraps `bwa-mem2` + GATK markdup; typically 3–4× faster than `bwa-mem2` on 8 cores and up to ~80× over a 96-core CPU pipeline).
   - Long reads, CPU: `minimap2` v2.30+. AVX-512 hardware: `mm2-fast` as a drop-in replacement (~1.8× speedup). GPU node available: `mm2-gb` or `mm2-ax` for CUDA-accelerated long-read alignment.
5. 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.md` for 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

```text
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.

Files in this skill

  • SKILL.md2.6 KB
  • docs/README.md4.6 KB
  • docs/bbduk.md5.1 KB
  • docs/bbmap.md5.9 KB
  • docs/filtlong.md7.3 KB
  • docs/minimap2.md7.1 KB
  • docs/porechop_abi.md8.6 KB
  • summaries/2023-minimap2-fpga-scirep.md1.5 KB
  • summaries/2024-long-read-rnaseq-natmethods.md1.5 KB
  • summaries/README.md186 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…