Skip to main content

GAP-MS

GAP-MS uses mass-spectrometry peptides to assess gene predictions, combine annotations and identify peptide-supported changes for review.

Install

Python 3.10 or newer:

pip install gapms==1.3.2

For runs with a BAM file, also install the RNA reconstruction tools:

conda install -c conda-forge -c bioconda stringtie transdecoder=5.5.0

Alternatively, build an Apptainer image from this checkout. It includes these tools:

apptainer build --fakeroot gapms-1.3.2.sif gapms.def
apptainer run gapms-1.3.2.sif -a assembly.fa -p peptides.tsv -g genes.gtf

Version 1.3.2 must be uploaded to PyPI before the pip command above is available. See container instructions for Docker Hub.

Run

  • Assembly + peptides: map peptides to the six-frame genome translation. gapms -a assembly.fa -p peptides.tsv
  • Add BAM: include RNA-supported splice paths and reconstruct peptide-supported ORF candidates. gapms -a assembly.fa -p peptides.tsv -b sorted.bam
  • Add annotation: map across annotated exons, score gene models and propose supported changes. gapms -a assembly.fa -p peptides.tsv -g genes.gtf
  • Annotation + BAM: combine gene-model assessment with RNA-supported reconstruction. gapms -a assembly.fa -p peptides.tsv -g genes.gtf -b sorted.bam
  • Multiple annotations: automatically build a peptide-guided consensus. BAM is optional here too. gapms -a assembly.fa -p peptides.tsv -g helixer.gtf -g another.gff3

GTF and GFF3 are accepted. BAM files must be coordinate-sorted and use the assembly's sequence names. FragPipe, Casanovo and plain peptide lists are supported. Use -o results to choose an output directory (default: ./GAPMS_output) and -t 16 to change the default of 8 threads.

Analysis uses trypsin-compatible exact matches by default; add --non-tryptic for other enzymes. Isoleucine and leucine are treated as equivalent. All-match and tryptic-match BED tracks are always retained. Optional one-edit rescue is separate from the exact evidence used to support gene models. See gapms --help-all.

Results

Start with report.html; report.log records the run. Main outputs include peptides.bed, peptides.tryptic.bed, peptides.igv.bed, unmapped_peptides.tsv, and, when gene models are available, all_proteins_scores.tsv and supported_genes.gtf. Multiple annotations also produce consensus.gff3 and consensus_proteins.faa.

review/ contains supported novel/alternative proposals when available. They require review and are not automatically applied. Existing annotated isoforms are considered before proposing changes. Without an input annotation, RNA-derived ORFs are candidates whose novelty cannot be assessed. Peptide support does not validate every boundary of a gene model.

Technical guide · Five-mode validation of 1.3.2

Cite

GAP-MS manuscript on bioRxiv

Metadata

Release files for gapms 1.3.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 gapms 1.3.2
File Size Uploaded Provenance Actions
gapms-1.3.2.tar.gz 152.8 kB Without provenance Details for gapms-1.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gapms 1.3.2
File Interpreter ABI Platform Actions
gapms-1.3.2-py3-none-any.whl Python 3 none any Details for gapms-1.3.2-py3-none-any.whl

Total release size: 302.9 kB

Release files / gapms-1.3.2.tar.gz

Download URL gapms-1.3.2.tar.gz
Size 152.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cc3787463b48693b13ecb770eb4f625bfdaec5fd93b471ae3559b34bd7f3c25f
BLAKE2b-256 checksum
How to use checksums
7555286052ea9863f767027c9ac8f8731409c2f3333bd59bcccabd3db8b762bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.15

Release files / gapms-1.3.2-py3-none-any.whl

Download URL gapms-1.3.2-py3-none-any.whl
Size 150.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a49c2205f5f208b07e17db4a85c2a230758040d2c3970489a6d8932d78b2454d
BLAKE2b-256 checksum
How to use checksums
d653232701e9419b89a353a1cbf87e63a90b6acd4259c784513094f7cf265400
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.15

Security for gapms 1.3.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.

Release history Release notifications | RSS feed

This release

1.3.2 This release

2 release files No provenance

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