Data & ReproBioinformatics & GenomicsFreedomIntelligence/OpenClaw-Medical-SkillsData & Reproduction
BI

bio-alignment-filtering

Maintainer FreedomIntelligence · Last updated April 1, 2026

Filter alignments by flag, quality, region, or paired status.

OpenClawNanoClawAnalysisReproductionbio-alignment-filtering🧠 bioos extended suitebioos extended bioinformatics suitefilter

Original source

FreedomIntelligence/OpenClaw-Medical-Skills

https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/bio-alignment-filtering

Maintainer
FreedomIntelligence
License
MIT
Last updated
April 1, 2026

Skill Snapshot

Key Details From SKILL.md

2 min

Key Notes

  • Filter alignments by flags, quality, and regions using samtools and pysam.
  • samtools view -F 3332 -q 30 -o filtered.bam input.bam.

Source Doc

Excerpt From SKILL.md

Filter Flags

OptionDescription
-f FLAGInclude reads with ALL bits set
-F FLAGExclude reads with ANY bits set
-G FLAGExclude reads with ALL bits set
-q MAPQMinimum mapping quality
-L BEDInclude reads overlapping regions

Common FLAG Values

FlagHexMeaning
10x1Paired
20x2Proper pair
40x4Unmapped
80x8Mate unmapped
160x10Reverse strand
320x20Mate reverse strand
640x40First in pair (read1)
1280x80Second in pair (read2)
2560x100Secondary alignment
5120x200Failed QC
10240x400Duplicate
20480x800Supplementary

Keep Only Primary Alignments

samtools view -F 256 -F 2048 -o primary.bam input.bam

Use cases

  • Use bio-alignment-filtering for genomics and bioinformatics workflows.
  • Apply bio-alignment-filtering to sequencing, variant, or omics analysis tasks.

Not for

  • Do not rely on this catalog entry alone for installation or maintenance details.

Upstream Related Skills

  • sam-bam-basics - View and understand alignment files
  • alignment-sorting - Sort before/after filtering
  • alignment-indexing - Required for region filtering
  • duplicate-handling - Mark duplicates before filtering
  • bam-statistics - Check filter effects

Related skills

Related skills

Back to directory
AG
Data & ReproBioinformatics & Genomics

agent-browser

Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extract data, and test w…

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
AL
Data & ReproBioinformatics & Genomics

alpha-vantage

Access 20+ years of global financial data: equities, options, forex, crypto, commodities, economic indicators, and 50+ technical indicators.

Claude CodeAnalysis
K-Dense-AI/claude-scientific-skillsView
BI
Data & ReproBioinformatics & Genomics

bio-alignment-indexing

Index BAM/CRAM files with samtools index for random access.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
BI
Data & ReproBioinformatics & Genomics

bio-alignment-msa-parsing

Parse and analyze multiple sequence alignments using Biopython. Extract sequences, identify conserved regions, analyze gaps, work with annot…

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView