Skip to main content

So U Found A Mutation? (SUFAM)

https://badge.fury.io/py/sufam.svg http://anaconda.org/inodb/sufam/badges/version.svg https://travis-ci.org/inodb/sufam.svg?branch=master

Found a mutation in one or more samples? Now you want to check if they are in another sample. Unfortunately mutect, varscan or whatever other variant caller is not calling them. Use SUFAM. The super sensitive validation caller that calls everything on a given position. All you need is a vcf with the mutations that you are interested in and the sam/bam file of the sample where you want to find the same inconsipicuous mutation.

Installation

pip install sufam

Run

usage: sufam [-h] [--sample_name SAMPLE_NAME] [--format {matrix,sufam}]
            [--mpileup-parameters MPILEUP_PARAMETERS] [--version]
            reffa vcf bam

So U Found A Mutation? (SUFAM)

Found a mutation in one or more samples? Now you want to check if they are in
another sample. Unfortunately mutect, varscan or whatever other variant caller
is not calling them. Use SUFAM. The super sensitive validation caller that
calls everything on a given position. All you need is a vcf with the mutations
that you are interested in and the sam/bam file of the sample where you want to
find the same inconsipicuous mutation.

Author: inodb

positional arguments:
reffa                 Reference genome (fasta)
vcf                   VCF with mutations to be validated
bam                   BAM to find mutations in

optional arguments:
-h, --help            show this help message and exit
--sample_name SAMPLE_NAME
                        Set name of sample, used in output [name of bam].
--format {matrix,sufam}
                        Set output format [sufam]
--mpileup-parameters MPILEUP_PARAMETERS
                        Set options for mpileup [--ignore-RG --min-MQ 1 --max-
                        depth 250000 --max-idepth 250000]
--version             show program's version number and exit

Example

VCF file like:

#CHROM      POS     ID      REF     ALT
17  7574012 COSM11286,COSM214290    C       G
17  7574012 COSM11286,COSM214290    C       A

Check if given mutations are in a bam file:

sufam human_g1k_v37_chr17.fa mutations.vcf subset1.bam 2> example/sufam.log > example/sufam.tsv

Output:

Developers

Tests

In root dir run:

nosetests

For individual tests:

nosetests -s tests/test_validation.py:TestValidation.test_validate_mutations_indel

Metadata

Release files for sufam 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sufam 0.4.2
File Size Uploaded Provenance Actions
sufam-0.4.2.tar.gz 25.0 kB Without provenance Details for sufam-0.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sufam 0.4.2
File Interpreter ABI Platform Actions
sufam-0.4.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for sufam-0.4.2-py2.py3-none-any.whl

Total release size: 38.4 kB

Release files / sufam-0.4.2.tar.gz

Download URL sufam-0.4.2.tar.gz
Size 25.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dc3609c82a552df945f88b1b9e0e93e34930141a2f4fdc30ff5faba6e74504e9
BLAKE2b-256 checksum
How to use checksums
aed254f89460caf902cadbfb4eeeeaaab5317c8940aa2ad1bf1ba859733c837f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sufam-0.4.2-py2.py3-none-any.whl

Download URL sufam-0.4.2-py2.py3-none-any.whl
Size 13.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
67d77f6e1d819826892757b5ff79380c09fccb4867cc6d70cca7e3d7cde16d45
BLAKE2b-256 checksum
How to use checksums
0b6a7e82aeb80f0ba53773c3f70d5ecde2fbeaf6bb0fae9462f42d0b4c6fd770
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for sufam 0.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page