pysam
Genomic file toolkit. Read/write SAM/BAM/CRAM alignments, VCF/BCF variants, FASTA/FASTQ sequences, extract regions, calculate coverage, for NGS data processing pipelines.
Security Assessment
About pysam
Pysam is a powerful Python module designed to facilitate the reading, manipulation, and writing of genomic datasets, providing a user-friendly interface to htslib. It addresses the challenges faced in genomic data analysis by allowing seamless interaction with various genomic file formats, including SAM, BAM, CRAM, VCF, BCF, FASTA, and FASTQ. This toolkit is particularly beneficial for bioinformaticians and researchers engaged in next-generation sequencing (NGS) data processing, as it simplifies complex operations and enhances productivity in analyzing genomic data.
FAQ
How do I install Pysam?
You can install Pysam using the command: 'uv pip install pysam'.
What file formats does Pysam support?
Pysam supports SAM, BAM, CRAM, VCF, BCF, FASTA, and FASTQ file formats.
Can I use Pysam for quality control of sequencing data?
Yes, Pysam can be utilized for quality control of sequencing data, including calculating coverage and filtering reads.
Is Pysam compatible with Python 3?
Yes, Pysam is compatible with Python 3.
What are the main use cases for Pysam?
Pysam is used for analyzing sequencing alignment files, genetic variants, extracting reference sequences, and implementing bioinformatics analysis pipelines.
Install pysam
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
K-Dense-AI/claude-scientific-skills