gapms 1.3.2__tar.gz → 1.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. {gapms-1.3.2 → gapms-1.4.0}/MANIFEST.in +1 -4
  2. {gapms-1.3.2/gapms.egg-info → gapms-1.4.0}/PKG-INFO +33 -21
  3. gapms-1.4.0/README.md +84 -0
  4. gapms-1.4.0/docs/CONTAINERS.md +31 -0
  5. {gapms-1.3.2 → gapms-1.4.0/gapms.egg-info}/PKG-INFO +33 -21
  6. {gapms-1.3.2 → gapms-1.4.0}/gapms.egg-info/SOURCES.txt +2 -8
  7. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/__init__.py +1 -1
  8. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/assessment.py +179 -65
  9. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/cli.py +1 -1
  10. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/consensus_engine.py +18 -6
  11. gapms-1.4.0/gapms_v1/events.py +178 -0
  12. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/mapping.py +135 -4
  13. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/models.py +24 -0
  14. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/orf_projection.py +8 -0
  15. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/outputs.py +4 -3
  16. gapms-1.4.0/gapms_v1/refinement.py +413 -0
  17. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/report_figure.py +3 -2
  18. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/rnaseq.py +57 -4
  19. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/workflow.py +17 -7
  20. {gapms-1.3.2 → gapms-1.4.0}/pyproject.toml +1 -1
  21. gapms-1.3.2/README.md +0 -72
  22. gapms-1.3.2/docs/v1/ARCHITECTURE.md +0 -64
  23. gapms-1.3.2/docs/v1/CONSENSUS.md +0 -162
  24. gapms-1.3.2/docs/v1/GENESENSUS_0.6.0a3.md +0 -254
  25. gapms-1.3.2/docs/v1/IMPLEMENTATION_PLAN.md +0 -21
  26. gapms-1.3.2/docs/v1/OUTPUT_FORMATS.md +0 -205
  27. gapms-1.3.2/docs/v1/README.md +0 -188
  28. gapms-1.3.2/docs/v1/SCIENTIFIC_METHODS.md +0 -228
  29. gapms-1.3.2/docs/v1/VALIDATION.md +0 -84
  30. gapms-1.3.2/gapms_v1/refinement.py +0 -245
  31. {gapms-1.3.2 → gapms-1.4.0}/LICENSE +0 -0
  32. {gapms-1.3.2 → gapms-1.4.0}/THIRD_PARTY.md +0 -0
  33. {gapms-1.3.2 → gapms-1.4.0}/gapms.egg-info/dependency_links.txt +0 -0
  34. {gapms-1.3.2 → gapms-1.4.0}/gapms.egg-info/entry_points.txt +0 -0
  35. {gapms-1.3.2 → gapms-1.4.0}/gapms.egg-info/requires.txt +0 -0
  36. {gapms-1.3.2 → gapms-1.4.0}/gapms.egg-info/top_level.txt +0 -0
  37. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/__main__.py +0 -0
  38. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/LICENSE +0 -0
  39. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/VENDORED.json +0 -0
  40. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/__init__.py +0 -0
  41. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/__main__.py +0 -0
  42. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/adaptive.py +0 -0
  43. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/annotation.py +0 -0
  44. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/available.py +0 -0
  45. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/cli.py +0 -0
  46. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/config.py +0 -0
  47. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/corroborated.py +0 -0
  48. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/diagnostics.py +0 -0
  49. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/direct_molecular.py +0 -0
  50. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/exchange.py +0 -0
  51. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/exon_support.py +0 -0
  52. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/genome.py +0 -0
  53. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/graph.py +0 -0
  54. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/graph_cache.py +0 -0
  55. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/intervals.py +0 -0
  56. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/isoform_guards.py +0 -0
  57. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/isoforms.py +0 -0
  58. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/joint.py +0 -0
  59. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/loading.py +0 -0
  60. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/local_molecular.py +0 -0
  61. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/locus_select.py +0 -0
  62. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/models.py +0 -0
  63. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/molecular.py +0 -0
  64. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/molecular_exchange.py +0 -0
  65. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/molecular_state_utility.py +0 -0
  66. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/molecular_strategy.py +0 -0
  67. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/normalization.py +0 -0
  68. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/orf_diagnostics.py +0 -0
  69. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/peptide_context.py +0 -0
  70. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/peptides.py +0 -0
  71. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/pipeline.py +0 -0
  72. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/provenance.py +0 -0
  73. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/rna.py +0 -0
  74. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/rna_geometry.py +0 -0
  75. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/scoped.py +0 -0
  76. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/scoring.py +0 -0
  77. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/selection.py +0 -0
  78. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/source_splice.py +0 -0
  79. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/splice_prior.py +0 -0
  80. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/state_utility.py +0 -0
  81. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/_genesensus/support.py +0 -0
  82. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/classification.py +0 -0
  83. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/common.py +0 -0
  84. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/confidence_features.py +0 -0
  85. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/peptides.py +0 -0
  86. {gapms-1.3.2 → gapms-1.4.0}/gapms_v1/protein_mapper.py +0 -0
  87. {gapms-1.3.2 → gapms-1.4.0}/setup.cfg +0 -0
  88. {gapms-1.3.2 → gapms-1.4.0}/setup.py +0 -0
@@ -1,10 +1,7 @@
1
1
  include LICENSE THIRD_PARTY.md README.md
2
- recursive-include docs/v1 *.md
2
+ recursive-include docs *.md
3
3
  include gapms_v1/_genesensus/LICENSE
4
4
  include gapms_v1/_genesensus/VENDORED.json
5
- prune docs/v1/evaluation
6
- prune gapms
7
- prune packaging
8
5
  prune tests
9
6
  prune build
10
7
  prune dist
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gapms
3
- Version: 1.3.2
3
+ Version: 1.4.0
4
4
  Summary: Gene model assessment and peptide-guided annotation refinement
5
5
  Author-email: Qussai Abbas <qussai.abbas@tum.de>
6
6
  License-Expression: MIT
@@ -28,7 +28,7 @@ annotations and identify peptide-supported changes for review.
28
28
  Python 3.10 or newer:
29
29
 
30
30
  ```bash
31
- pip install gapms==1.3.2
31
+ pip install gapms
32
32
  ```
33
33
 
34
34
  For runs with a BAM file, also install the RNA reconstruction tools:
@@ -37,36 +37,46 @@ For runs with a BAM file, also install the RNA reconstruction tools:
37
37
  conda install -c conda-forge -c bioconda stringtie transdecoder=5.5.0
38
38
  ```
39
39
 
40
- Alternatively, build an Apptainer image from this checkout. It includes these tools:
40
+ TransDecoder 7, which keeps `TransDecoder.LongOrfs`/`TransDecoder.Predict` in its
41
+ `util/` folder, is also found automatically.
42
+
43
+ Or use the Apptainer image, which includes the RNA reconstruction tools:
41
44
 
42
45
  ```bash
43
- apptainer build --fakeroot gapms-1.3.2.sif gapms.def
44
- apptainer run gapms-1.3.2.sif -a assembly.fa -p peptides.tsv -g genes.gtf
46
+ apptainer pull gapms.sif oras://docker.io/qussaiab96/gapms:latest
47
+ apptainer run gapms.sif -a assembly.fa -p peptides.tsv -g genes.gtf
45
48
  ```
46
49
 
47
- Version 1.3.2 must be uploaded to PyPI before the pip command above is available.
48
- See [container instructions](packaging/CONTAINERS.md) for Docker Hub.
50
+ See [container instructions](docs/CONTAINERS.md) for Docker Hub.
49
51
 
50
52
  ## Run
51
53
 
52
- - **Assembly + peptides:** map peptides to the six-frame genome translation.
54
+ - **Assembly + peptides:**
55
+ map peptides to the six-frame genome translation.
53
56
  `gapms -a assembly.fa -p peptides.tsv`
54
- - **Add BAM:** include RNA-supported splice paths and reconstruct peptide-supported ORF candidates.
57
+ - **Add BAM:**
58
+ include RNA-supported splice paths and reconstruct peptide-supported ORF candidates.
55
59
  `gapms -a assembly.fa -p peptides.tsv -b sorted.bam`
56
- - **Add annotation:** map across annotated exons, score gene models and propose supported changes.
60
+ - **Add annotation:**
61
+ map across annotated exons, score gene models and propose supported changes.
57
62
  `gapms -a assembly.fa -p peptides.tsv -g genes.gtf`
58
- - **Annotation + BAM:** combine gene-model assessment with RNA-supported reconstruction.
63
+ - **Annotation + BAM:**
64
+ combine gene-model assessment with RNA-supported reconstruction.
59
65
  `gapms -a assembly.fa -p peptides.tsv -g genes.gtf -b sorted.bam`
60
- - **Multiple annotations:** automatically build a peptide-guided consensus. BAM is optional here too.
66
+ - **Multiple annotations:**
67
+ automatically build a peptide-guided consensus. BAM is optional here too.
61
68
  `gapms -a assembly.fa -p peptides.tsv -g helixer.gtf -g another.gff3`
62
69
 
63
70
  GTF and GFF3 are accepted. BAM files must be coordinate-sorted and use the
64
- assembly's sequence names. FragPipe, Casanovo and plain peptide lists are supported.
71
+ assembly's sequence names. With several annotations and a BAM, an index is needed:
72
+ GAPMS builds one in its work folder when the BAM can be hard-linked there, and
73
+ otherwise stops at once asking for `samtools index`. FragPipe, Casanovo and plain peptide lists are supported.
65
74
  Use `-o results` to choose an output directory (default: `./GAPMS_output`) and
66
75
  `-t 16` to change the default of **8 threads**.
67
76
 
68
77
  Analysis uses **trypsin-compatible exact matches** by default; add `--non-tryptic`
69
- for other enzymes. Isoleucine and leucine are treated as equivalent. All-match and
78
+ for other enzymes. Peptides of at least **6 residues** are searched (`--min-length`).
79
+ Isoleucine and leucine are treated as equivalent. All-match and
70
80
  tryptic-match BED tracks are always retained. Optional one-edit rescue is separate
71
81
  from the exact evidence used to support gene models. See `gapms --help-all`.
72
82
 
@@ -78,15 +88,17 @@ Start with **report.html**; **report.log** records the run. Main outputs include
78
88
  `all_proteins_scores.tsv` and `supported_genes.gtf`. Multiple annotations also
79
89
  produce `consensus.gff3` and `consensus_proteins.faa`.
80
90
 
81
- `review/` contains supported novel/alternative proposals when available.
82
- They require review and are not automatically applied. Existing annotated isoforms
83
- are considered before proposing changes. Without an input annotation, RNA-derived
91
+ `review/candidates.tsv` lists one row per proposed feature (alternative start, stop
92
+ or splice, terminal extension, novel ORF) with a `confidence` and reason codes;
93
+ the `review/*.gff3` files contain the supported proposals only. They require review
94
+ and are not automatically applied. A peptide supports a change only if no supplied
95
+ annotation explains it at that locus and it has a single genomic locus over all
96
+ exact matches (isoforms of one gene count once). Peptide length is reported, not
97
+ filtered: the run summary gives decoy-estimated false-discovery rates by peptide
98
+ length to judge chance matches of short peptides. Without an input annotation, RNA-derived
84
99
  ORFs are candidates whose novelty cannot be assessed. Peptide support does not
85
100
  validate every boundary of a gene model.
86
101
 
87
- [Technical guide](docs/v1/README.md) ·
88
- [Five-mode validation of 1.3.2](docs/v1/evaluation/five_modes_hop_20261113/REPORT.md)
89
-
90
102
  ## Cite
91
103
 
92
- [GAP-MS manuscript on bioRxiv](https://www.biorxiv.org/content/10.64898/2026.03.17.712294v3)
104
+ [GAP-MS manuscript](https://www.biorxiv.org/content/10.64898/2026.03.17.712294v3)
gapms-1.4.0/README.md ADDED
@@ -0,0 +1,84 @@
1
+ # GAP-MS
2
+
3
+ GAP-MS uses mass-spectrometry peptides to assess gene predictions, combine
4
+ annotations and identify peptide-supported changes for review.
5
+
6
+ ## Install
7
+
8
+ Python 3.10 or newer:
9
+
10
+ ```bash
11
+ pip install gapms
12
+ ```
13
+
14
+ For runs with a BAM file, also install the RNA reconstruction tools:
15
+
16
+ ```bash
17
+ conda install -c conda-forge -c bioconda stringtie transdecoder=5.5.0
18
+ ```
19
+
20
+ TransDecoder 7, which keeps `TransDecoder.LongOrfs`/`TransDecoder.Predict` in its
21
+ `util/` folder, is also found automatically.
22
+
23
+ Or use the Apptainer image, which includes the RNA reconstruction tools:
24
+
25
+ ```bash
26
+ apptainer pull gapms.sif oras://docker.io/qussaiab96/gapms:latest
27
+ apptainer run gapms.sif -a assembly.fa -p peptides.tsv -g genes.gtf
28
+ ```
29
+
30
+ See [container instructions](docs/CONTAINERS.md) for Docker Hub.
31
+
32
+ ## Run
33
+
34
+ - **Assembly + peptides:**
35
+ map peptides to the six-frame genome translation.
36
+ `gapms -a assembly.fa -p peptides.tsv`
37
+ - **Add BAM:**
38
+ include RNA-supported splice paths and reconstruct peptide-supported ORF candidates.
39
+ `gapms -a assembly.fa -p peptides.tsv -b sorted.bam`
40
+ - **Add annotation:**
41
+ map across annotated exons, score gene models and propose supported changes.
42
+ `gapms -a assembly.fa -p peptides.tsv -g genes.gtf`
43
+ - **Annotation + BAM:**
44
+ combine gene-model assessment with RNA-supported reconstruction.
45
+ `gapms -a assembly.fa -p peptides.tsv -g genes.gtf -b sorted.bam`
46
+ - **Multiple annotations:**
47
+ automatically build a peptide-guided consensus. BAM is optional here too.
48
+ `gapms -a assembly.fa -p peptides.tsv -g helixer.gtf -g another.gff3`
49
+
50
+ GTF and GFF3 are accepted. BAM files must be coordinate-sorted and use the
51
+ assembly's sequence names. With several annotations and a BAM, an index is needed:
52
+ GAPMS builds one in its work folder when the BAM can be hard-linked there, and
53
+ otherwise stops at once asking for `samtools index`. FragPipe, Casanovo and plain peptide lists are supported.
54
+ Use `-o results` to choose an output directory (default: `./GAPMS_output`) and
55
+ `-t 16` to change the default of **8 threads**.
56
+
57
+ Analysis uses **trypsin-compatible exact matches** by default; add `--non-tryptic`
58
+ for other enzymes. Peptides of at least **6 residues** are searched (`--min-length`).
59
+ Isoleucine and leucine are treated as equivalent. All-match and
60
+ tryptic-match BED tracks are always retained. Optional one-edit rescue is separate
61
+ from the exact evidence used to support gene models. See `gapms --help-all`.
62
+
63
+ ## Results
64
+
65
+ Start with **report.html**; **report.log** records the run. Main outputs include
66
+ `peptides.bed`, `peptides.tryptic.bed`, `peptides.igv.bed`,
67
+ `unmapped_peptides.tsv`, and, when gene models are available,
68
+ `all_proteins_scores.tsv` and `supported_genes.gtf`. Multiple annotations also
69
+ produce `consensus.gff3` and `consensus_proteins.faa`.
70
+
71
+ `review/candidates.tsv` lists one row per proposed feature (alternative start, stop
72
+ or splice, terminal extension, novel ORF) with a `confidence` and reason codes;
73
+ the `review/*.gff3` files contain the supported proposals only. They require review
74
+ and are not automatically applied. A peptide supports a change only if no supplied
75
+ annotation explains it at that locus and it has a single genomic locus over all
76
+ exact matches (isoforms of one gene count once). Peptide length is reported, not
77
+ filtered: the run summary gives decoy-estimated false-discovery rates by peptide
78
+ length to judge chance matches of short peptides. Without an input annotation, RNA-derived
79
+ ORFs are candidates whose novelty cannot be assessed. Peptide support does not
80
+ validate every boundary of a gene model.
81
+
82
+ ## Cite
83
+
84
+ [GAP-MS manuscript](https://www.biorxiv.org/content/10.64898/2026.03.17.712294v3)
@@ -0,0 +1,31 @@
1
+ # Apptainer
2
+
3
+ The published image is a SIF stored on Docker Hub using ORAS:
4
+
5
+ ```bash
6
+ apptainer pull gapms.sif oras://docker.io/qussaiab96/gapms:latest
7
+ apptainer run --bind /path/to/data:/data gapms.sif -a /data/assembly.fa -p /data/peptides.tsv -g /data/genes.gtf -o /data/results
8
+ ```
9
+
10
+ Use the `oras://` address to pull this image. The `latest` tag currently contains
11
+ GAPMS 1.4.0. Check the downloaded version with `apptainer run gapms.sif --version`.
12
+
13
+ The image includes StringTie, TransDecoder 5.5.0 and procps (`ps`) for Nextflow task
14
+ metrics. Runs use CPUs; no GPU option is needed.
15
+
16
+ ## Build from source
17
+
18
+ From the release checkout:
19
+
20
+ ```bash
21
+ apptainer build --fakeroot gapms-1.4.0.sif gapms.def
22
+ ```
23
+
24
+ Maintainers can publish the SIF with:
25
+
26
+ ```bash
27
+ apptainer push gapms-1.4.0.sif oras://docker.io/qussaiab96/gapms:latest
28
+ ```
29
+
30
+ A Dockerfile is also provided for users who want to build a Docker/OCI image.
31
+ The published ORAS artifact is intended for Apptainer.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gapms
3
- Version: 1.3.2
3
+ Version: 1.4.0
4
4
  Summary: Gene model assessment and peptide-guided annotation refinement
5
5
  Author-email: Qussai Abbas <qussai.abbas@tum.de>
6
6
  License-Expression: MIT
@@ -28,7 +28,7 @@ annotations and identify peptide-supported changes for review.
28
28
  Python 3.10 or newer:
29
29
 
30
30
  ```bash
31
- pip install gapms==1.3.2
31
+ pip install gapms
32
32
  ```
33
33
 
34
34
  For runs with a BAM file, also install the RNA reconstruction tools:
@@ -37,36 +37,46 @@ For runs with a BAM file, also install the RNA reconstruction tools:
37
37
  conda install -c conda-forge -c bioconda stringtie transdecoder=5.5.0
38
38
  ```
39
39
 
40
- Alternatively, build an Apptainer image from this checkout. It includes these tools:
40
+ TransDecoder 7, which keeps `TransDecoder.LongOrfs`/`TransDecoder.Predict` in its
41
+ `util/` folder, is also found automatically.
42
+
43
+ Or use the Apptainer image, which includes the RNA reconstruction tools:
41
44
 
42
45
  ```bash
43
- apptainer build --fakeroot gapms-1.3.2.sif gapms.def
44
- apptainer run gapms-1.3.2.sif -a assembly.fa -p peptides.tsv -g genes.gtf
46
+ apptainer pull gapms.sif oras://docker.io/qussaiab96/gapms:latest
47
+ apptainer run gapms.sif -a assembly.fa -p peptides.tsv -g genes.gtf
45
48
  ```
46
49
 
47
- Version 1.3.2 must be uploaded to PyPI before the pip command above is available.
48
- See [container instructions](packaging/CONTAINERS.md) for Docker Hub.
50
+ See [container instructions](docs/CONTAINERS.md) for Docker Hub.
49
51
 
50
52
  ## Run
51
53
 
52
- - **Assembly + peptides:** map peptides to the six-frame genome translation.
54
+ - **Assembly + peptides:**
55
+ map peptides to the six-frame genome translation.
53
56
  `gapms -a assembly.fa -p peptides.tsv`
54
- - **Add BAM:** include RNA-supported splice paths and reconstruct peptide-supported ORF candidates.
57
+ - **Add BAM:**
58
+ include RNA-supported splice paths and reconstruct peptide-supported ORF candidates.
55
59
  `gapms -a assembly.fa -p peptides.tsv -b sorted.bam`
56
- - **Add annotation:** map across annotated exons, score gene models and propose supported changes.
60
+ - **Add annotation:**
61
+ map across annotated exons, score gene models and propose supported changes.
57
62
  `gapms -a assembly.fa -p peptides.tsv -g genes.gtf`
58
- - **Annotation + BAM:** combine gene-model assessment with RNA-supported reconstruction.
63
+ - **Annotation + BAM:**
64
+ combine gene-model assessment with RNA-supported reconstruction.
59
65
  `gapms -a assembly.fa -p peptides.tsv -g genes.gtf -b sorted.bam`
60
- - **Multiple annotations:** automatically build a peptide-guided consensus. BAM is optional here too.
66
+ - **Multiple annotations:**
67
+ automatically build a peptide-guided consensus. BAM is optional here too.
61
68
  `gapms -a assembly.fa -p peptides.tsv -g helixer.gtf -g another.gff3`
62
69
 
63
70
  GTF and GFF3 are accepted. BAM files must be coordinate-sorted and use the
64
- assembly's sequence names. FragPipe, Casanovo and plain peptide lists are supported.
71
+ assembly's sequence names. With several annotations and a BAM, an index is needed:
72
+ GAPMS builds one in its work folder when the BAM can be hard-linked there, and
73
+ otherwise stops at once asking for `samtools index`. FragPipe, Casanovo and plain peptide lists are supported.
65
74
  Use `-o results` to choose an output directory (default: `./GAPMS_output`) and
66
75
  `-t 16` to change the default of **8 threads**.
67
76
 
68
77
  Analysis uses **trypsin-compatible exact matches** by default; add `--non-tryptic`
69
- for other enzymes. Isoleucine and leucine are treated as equivalent. All-match and
78
+ for other enzymes. Peptides of at least **6 residues** are searched (`--min-length`).
79
+ Isoleucine and leucine are treated as equivalent. All-match and
70
80
  tryptic-match BED tracks are always retained. Optional one-edit rescue is separate
71
81
  from the exact evidence used to support gene models. See `gapms --help-all`.
72
82
 
@@ -78,15 +88,17 @@ Start with **report.html**; **report.log** records the run. Main outputs include
78
88
  `all_proteins_scores.tsv` and `supported_genes.gtf`. Multiple annotations also
79
89
  produce `consensus.gff3` and `consensus_proteins.faa`.
80
90
 
81
- `review/` contains supported novel/alternative proposals when available.
82
- They require review and are not automatically applied. Existing annotated isoforms
83
- are considered before proposing changes. Without an input annotation, RNA-derived
91
+ `review/candidates.tsv` lists one row per proposed feature (alternative start, stop
92
+ or splice, terminal extension, novel ORF) with a `confidence` and reason codes;
93
+ the `review/*.gff3` files contain the supported proposals only. They require review
94
+ and are not automatically applied. A peptide supports a change only if no supplied
95
+ annotation explains it at that locus and it has a single genomic locus over all
96
+ exact matches (isoforms of one gene count once). Peptide length is reported, not
97
+ filtered: the run summary gives decoy-estimated false-discovery rates by peptide
98
+ length to judge chance matches of short peptides. Without an input annotation, RNA-derived
84
99
  ORFs are candidates whose novelty cannot be assessed. Peptide support does not
85
100
  validate every boundary of a gene model.
86
101
 
87
- [Technical guide](docs/v1/README.md) ·
88
- [Five-mode validation of 1.3.2](docs/v1/evaluation/five_modes_hop_20261113/REPORT.md)
89
-
90
102
  ## Cite
91
103
 
92
- [GAP-MS manuscript on bioRxiv](https://www.biorxiv.org/content/10.64898/2026.03.17.712294v3)
104
+ [GAP-MS manuscript](https://www.biorxiv.org/content/10.64898/2026.03.17.712294v3)
@@ -4,14 +4,7 @@ README.md
4
4
  THIRD_PARTY.md
5
5
  pyproject.toml
6
6
  setup.py
7
- docs/v1/ARCHITECTURE.md
8
- docs/v1/CONSENSUS.md
9
- docs/v1/GENESENSUS_0.6.0a3.md
10
- docs/v1/IMPLEMENTATION_PLAN.md
11
- docs/v1/OUTPUT_FORMATS.md
12
- docs/v1/README.md
13
- docs/v1/SCIENTIFIC_METHODS.md
14
- docs/v1/VALIDATION.md
7
+ docs/CONTAINERS.md
15
8
  gapms.egg-info/PKG-INFO
16
9
  gapms.egg-info/SOURCES.txt
17
10
  gapms.egg-info/dependency_links.txt
@@ -26,6 +19,7 @@ gapms_v1/cli.py
26
19
  gapms_v1/common.py
27
20
  gapms_v1/confidence_features.py
28
21
  gapms_v1/consensus_engine.py
22
+ gapms_v1/events.py
29
23
  gapms_v1/mapping.py
30
24
  gapms_v1/models.py
31
25
  gapms_v1/orf_projection.py
@@ -1,2 +1,2 @@
1
1
  """Peptide-centric, evidence-traceable GAPMS workflows."""
2
- __version__ = '1.3.2'
2
+ __version__ = '1.4.0'