orfdata 0.53.0__tar.gz → 0.54.1__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.
- {orfdata-0.53.0/orfdata.egg-info → orfdata-0.54.1}/PKG-INFO +1 -1
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/catalogs.md +2 -1
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/cli-design.md +3 -1
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/cli.md +24 -3
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/proteome.md +3 -2
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/cli_output.py +42 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/command_parsers.py +7 -2
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/initiation_context.py +3 -2
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/liftover_cli.py +8 -2
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/model.py +57 -10
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/proteome_cli.py +14 -4
- orfdata-0.54.1/orfdata/version.py +1 -0
- {orfdata-0.53.0 → orfdata-0.54.1/orfdata.egg-info}/PKG-INFO +1 -1
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_cli_audit.py +6 -5
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_genetic_codes.py +99 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_liftover.py +15 -4
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_proteome.py +39 -22
- orfdata-0.53.0/orfdata/version.py +0 -1
- {orfdata-0.53.0 → orfdata-0.54.1}/LICENSE +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/MANIFEST.in +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/deploy.sh +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/develop.sh +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/copy-yeast.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/coverage.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/dog-data-sources.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/dog-peptides.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/downloads.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/downstream.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/examples.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/human-tissue.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/index.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/ingolia-yeast.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/mammary-stroma.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/measurements.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/pairing.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/pfizer-peptides.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/pfizer-protein.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/pfizer-rna.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/reference.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/search-references.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/source-references.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/species.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/storage.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/stylesheets/docs.css +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs/viral.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/docs.sh +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/lint.sh +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/mkdocs.yml +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/__init__.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/_pinned_genome.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/_structure.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/artifact_archives.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/build.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/cache.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/catalog.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/catalog_cli.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/catalog_manifest.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/catalogs.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/cli.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/cli_parser.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/catalogs.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/chains.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/datasets.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/genomes/rcrs-ensembl115.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/genomes/rcrs-ensembl115.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/genomes/rcrs-ensembl115.pep.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/genomes.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/ires/rfam-15.1-human-ires.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/orf-evidence/AUTHOR-LICENSE.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/orf-evidence/NOTICE.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/orf-evidence/catalog.json.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/orf-evidence/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/source_records.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/uorf-evidence/AUTHOR-LICENSE.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/uorf-evidence/NOTICE.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/uorf-evidence/catalog.json.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/uorf-evidence/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/viral/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/viral/gdc-grch38-d1-vd1-coverage.tsv +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/viral/gdc-grch38-d1-vd1-genbank.tsv +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/viral/gdc-grch38-d1-vd1-pave.tsv +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/viral/hpv16-refseq-CDS.json.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data/viral/subsets.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/data_resources.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/dataset_cli.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/datasets.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/download_cli.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/downloads.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/ensembl.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/errors.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/evidence.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/evidence_summary.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/fasta.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/genbank.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/genomes.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/genomes_cli.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/gtf.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/install.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/liftover.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/measurements.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/net.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/numeric_vector.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/pairing.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/proteome.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/record_sources.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/reference.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/reference_ledger.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/reference_mapping.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/reference_table.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/refseq.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/rna.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/search_reference.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sequence.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/source_cds.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/source_records.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/__init__.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/copy.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/ingolia.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/kaabinejadian.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/mammary_stroma.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/ncorf_mammals.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/openprot.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/peptideatlas.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/pfizer.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/pfizer_attribution.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/pfizer_dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/pfizer_evidence.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/pfizer_lineage.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/pfizer_native.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/pfizer_queries.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/pfizer_rna.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/pfizer_vendor.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/riborf.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/riborf_native.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/sources/wang.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/viral.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/viral_annotation.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/viral_cli.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/viral_coverage.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/viral_installed.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/viral_panel.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/viral_registry.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata/viral_subsets.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata.egg-info/SOURCES.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata.egg-info/dependency_links.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata.egg-info/entry_points.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata.egg-info/requires.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/orfdata.egg-info/top_level.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/pyproject.toml +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/setup.cfg +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/test.sh +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/conftest.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/aggregate_evidence.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/GSM1905474.soft +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/GSM1905474_KL9_fpkm.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/GSM1905476.soft +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/GSM1905476_KL10_fpkm.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/GSM1905478.soft +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/GSM1905478_KL11_fpkm.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/GSM1905479.soft +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/GSM1905479_KL12_fpkm.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/geo-series.soft +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/methods.pdf +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/paper.xml +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/pmc-metadata.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/qconcat.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/copy/workbook.xlsx +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ensembl/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ensembl/gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ensembl/internal-stop/gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ensembl/internal-stop/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ensembl/internal-stop/ncrna.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ensembl/internal-stop/protein.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ensembl/internal-stop/rna.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ensembl/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ensembl/ncrna.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ensembl/protein.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ensembl/rna.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346111.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346111.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346114.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346114.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346115.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346115.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346116.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346116.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346117.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346117.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346118.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346118.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346120.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346120.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346122.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/GSM346122.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ingolia/readMe.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/kaabinejadian/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/kaabinejadian/Results.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/kaabinejadian/manifest-v1.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/kaabinejadian/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/kaabinejadian/sdrf.tsv +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/mammary_stroma/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/mammary_stroma/geo.soft.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/mammary_stroma/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/mammary_stroma/paper.xml +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/mammary_stroma/peptides.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/mammary_stroma/project.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/mammary_stroma/proteinGroups.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/mammary_stroma/rna.csv.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ncorf_mammals/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ncorf_mammals/S3.xlsx +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ncorf_mammals/ensembl107.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ncorf_mammals/ensembl107.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ncorf_mammals/human-ensembl107.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ncorf_mammals/human.bed +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ncorf_mammals/human.pep.fa +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ncorf_mammals/mouse.bed +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/ncorf_mammals/mouse.pep.fa +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/openprot/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/openprot/ensembl106.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/openprot/ensembl106.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.bed.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.fasta.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.tsv.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/peptideatlas/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/peptideatlas/atlas_build.tsv.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/peptideatlas/ensembl.pep.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/peptideatlas/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/dog/expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/dog/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/dog/protein.tsv +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/dog/search.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/human/expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/human/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/human/protein.tsv +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/human/search.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/mouse/expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/mouse/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/mouse/protein.tsv +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/mouse/search.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/acquisition-missingness.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/definitions.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/dog-panel.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/membership-search-slice.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/memberships.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/native.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/parent-status-search-slice.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/parent-status.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/psm-parent-sets-search-slice.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/psm-parent-sets.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/search-slice.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/search-slice.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/study-slice.xml +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer/vendor/summary-samples.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer_rna/GSE325522_family.soft.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer_rna/GSE325523_family.soft.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer_rna/GSE325525_family.soft.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer_rna/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer_rna/counts.csv.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer_rna/dog-annotation.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer_rna/dog-expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer_rna/dog-manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer_rna/mouse-annotation.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer_rna/mouse-expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer_rna/mouse-manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/pfizer_rna/samples.xlsx +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/references/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/references/canis_lupus_familiaris.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/references/context-keys-v0.4.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/references/ensembl115.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/references/homo_sapiens.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/references/mitochondrial.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/references/mus_musculus.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/references/saccharomyces_cerevisiae.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/references/transcript_orf_v1_0.42.0.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/references/uniprot_literature.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/regions/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/regions/ingolia.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/SD3.xlsx +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/ensembl107.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/ensembl107.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/ensembl107.ncrna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/gencodeM25.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/gencodeM25.rna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/human-ensembl105.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/human-ensembl105.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/human-ensembl105.ncrna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/v3-manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/worm-ensembl105.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/worm-ensembl105.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/worm-ensembl105.ncrna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/yeast-ensembl115.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/yeast-ensembl115.dna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/yeast-ensembl115.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/zebrafish-ensembl115.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/zebrafish-ensembl115.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/riborf/zebrafish-ensembl115.ncrna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/search_reference/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/search_reference/dog.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/search_reference/ensembl83-expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/search_reference/ensembl83-human.fasta.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/search_reference/expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/storage/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/storage/generate.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/storage/v1.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/storage/v1.sqlite +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/storage/v2.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/storage/v2.sqlite +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/storage/v3.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/storage/v3.sqlite +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/storage/v4.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/storage/v4.sqlite +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/t2t/GCA_009914755.2_T2T-CHM13v1.0_assembly_report.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/t2t/GCA_009914755.4_T2T-CHM13v2.0_assembly_report.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/t2t/NC_012920.1.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/t2t/hs1.chromAlias.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/viral/GRCh83.d1.vd1_virus_decoy.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/viral/NC_001526.4.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/viral/genbank/HBV__X04615.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/viral/genbank/HPV16__K02718.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/viral/genbank/HPV35__X74477.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/viral/genbank/HPV51__M62877.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/viral/genbank/HPV56__X74483.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/viral_records/AF033817.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/viral_records/AJ507799.2.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/viral_records/HPV16REF.json.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/viral_records/KC108721.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/viral_records/KF006398.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/viral_records/X04615.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/viral_records/X70828.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/wang/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/wang/annotation.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/wang/copies.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/wang/expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/wang/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/wang/protein.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/wang/rna.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/data/wang/search.fasta.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_artifact_archives.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_bundle_readers.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_cache.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_catalog_registry.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_cli_dispatch.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_cli_options.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_copy.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_cross_reference_pairing.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_data_resources.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_dog_export_read_ahead.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_dog_peptides.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_downloads.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_ensembl.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_ensembl_search_reference.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_evidence_rules.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_evidence_summary.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_exit_statuses.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_export_sqlite_rows.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_extraction_budget.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_ftps_sqlite.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_full_collection.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_genbank.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_genbank_equivalence.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_genomes.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_grch37_mitochondrion.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_ingolia.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_initiation_context.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_local_build_queries.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_mammary_stroma.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_measurements.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_merge_catalogs.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_more_species.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_ncorf_mammals.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_numeric_vector.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_openprot.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_orf_cases.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_orf_gtf.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_package_dog_dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_package_sqlite_archive.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_paired_selectors.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_pairing.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_pfizer.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_pfizer_attribution.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_pfizer_dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_pfizer_evidence.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_pfizer_lineage.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_pfizer_native.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_pfizer_rna.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_pfizer_vendor.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_protein_set.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_proteome_external.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_proteome_fasta_tokens.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_proteome_producer_graph.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_public_api.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_real_viral_records.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_reference_context.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_reference_ledger.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_reference_mapping.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_reference_orf.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_reference_table.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_refseq.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_region_targets.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_resume.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_riborf.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_search_reference.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_selectors.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_shared_protein_ids.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_source_cds.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_source_records.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_storage.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_tab_completion.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_transcript_orf_serialization.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_uorf_catalog.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_verify_dog_dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_viral.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_viral_bundle.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_viral_cli.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_viral_collections.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_viral_completeness.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_viral_coverage.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_viral_host_group.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_viral_initiation.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_viral_installed.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_viral_origin_join.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_viral_sources.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_viral_subsets.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tests/test_wang.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/README-dog-results.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/__init__.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/build_dog_dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/build_gdc_viral_coverage.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/build_hpv16_cds.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/build_rcrs_mitochondrion.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/build_reference_ledger.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/dog_result_plan.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/export_dog_lineage.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/export_dog_results.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/export_sqlite_rows.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/extraction_budget.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/ftps_sqlite.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/inspect_dog_results.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/normalize_dog_evidence.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/package_dog_dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/package_sqlite_archive.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/verify_dog_dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/verify_mammary_stroma.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.1}/tools/verify_riborf_native.py +0 -0
|
@@ -529,7 +529,8 @@ orfdata lift --species human --to GRCh37 --output orfs-grch37.json.gz
|
|
|
529
529
|
```
|
|
530
530
|
|
|
531
531
|
`orfdata lift` writes the lifted catalogue and prints a summary to standard
|
|
532
|
-
error
|
|
532
|
+
error; `--json` prints the complete summary as JSON on standard output instead,
|
|
533
|
+
and `--summary FILE` writes that JSON to a file. `--catalog FILE` lifts a local catalogue instead, and `--chain FILE` uses
|
|
533
534
|
your own chain file instead of a downloaded pin. Pass the result back with
|
|
534
535
|
`--nc-orf-sources` for `orfdata proteome`; JSON and TSV exports include
|
|
535
536
|
each record's original and the chain. In Python:
|
|
@@ -24,7 +24,9 @@ draw on OpenVax's OncoRef inventory summaries and MHCtools' shared table formatt
|
|
|
24
24
|
- Human tables preview 25 rows; `--limit 0` shows all rows. Machine exports are
|
|
25
25
|
complete regardless of the preview limit. Wrapping is only for human output.
|
|
26
26
|
- Results go to stdout; progress and errors go to stderr. Proteome FASTA stays on
|
|
27
|
-
stdout and its build summary stays on stderr, as does the lift summary.
|
|
27
|
+
stdout and its human build summary stays on stderr, as does the lift summary.
|
|
28
|
+
Their `--json` summary goes to stdout like any other (`proteome` then requires
|
|
29
|
+
`--output`), and `--summary FILE` writes it to a file.
|
|
28
30
|
- Discovery and help never acquire resources. Downloads and builds require an
|
|
29
31
|
explicit acquisition command and continue to enforce source terms and pins.
|
|
30
32
|
- Errors identify the problem and return a status a script can branch on: 1 when
|
|
@@ -118,9 +118,30 @@ a nonzero status, or for 3 before installing what is missing.
|
|
|
118
118
|
|
|
119
119
|
Results and exports go to stdout. Progress and errors go to stderr. `data path`
|
|
120
120
|
and `viral inventory download` print a plain path by default. `proteome` writes
|
|
121
|
-
FASTA to stdout unless `--output` is supplied
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
FASTA to stdout unless `--output` is supplied, and `lift` writes its catalogue
|
|
122
|
+
to `--output`; each also prints a human summary on stderr. For the complete
|
|
123
|
+
summary as JSON:
|
|
124
|
+
|
|
125
|
+
```sh
|
|
126
|
+
orfdata lift --species human --to GRCh37 --output orfs.json.gz --json | jq .unmapped
|
|
127
|
+
orfdata proteome --species human --release 115 --output human.fa --json > summary.json
|
|
128
|
+
orfdata proteome --species human --release 115 --summary summary.json | gzip > human.fa.gz
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
`--json` writes the summary to stdout, as it does in every other command, and
|
|
132
|
+
replaces the human summary. `proteome --json` requires `--output`, since the
|
|
133
|
+
FASTA would otherwise share stdout; it exits 2 without it. `--summary FILE`
|
|
134
|
+
writes the same JSON document to a file and leaves both streams as they are, so
|
|
135
|
+
it also works while the FASTA is piped.
|
|
136
|
+
|
|
137
|
+
## Migrating scripts from 0.52 or earlier
|
|
138
|
+
|
|
139
|
+
Up to 0.52, `proteome --json` and `lift --json` wrote the JSON summary to
|
|
140
|
+
stderr. Scripts that read it from there (`2> summary.json`) should use
|
|
141
|
+
`--summary summary.json`, or read stdout: `lift ... --json > summary.json`,
|
|
142
|
+
and `proteome ... --output FILE --json > summary.json`. `proteome --json`
|
|
143
|
+
without `--output` is now a command-line mistake (exit 2) rather than FASTA on
|
|
144
|
+
stdout and JSON on stderr.
|
|
124
145
|
|
|
125
146
|
## Migrating scripts from 0.42 or 0.43
|
|
126
147
|
|
|
@@ -857,8 +857,9 @@ option for several specific viruses.
|
|
|
857
857
|
The FASTA goes to `--output` or
|
|
858
858
|
standard output; `--snapshot FILE` also saves a snapshot, and `--cache`
|
|
859
859
|
reuses or keeps the build in the cache; `--cache-root DIR` chooses the cache,
|
|
860
|
-
for catalogues as well as builds. A human summary goes to standard error
|
|
861
|
-
|
|
860
|
+
for catalogues as well as builds. A human summary goes to standard error. For the
|
|
861
|
+
complete JSON summary of layers, identity and excluded ORFs, add `--summary FILE`,
|
|
862
|
+
or `--json` with `--output` to get it on standard output.
|
|
862
863
|
|
|
863
864
|
## Not yet included
|
|
864
865
|
|
|
@@ -21,6 +21,48 @@ def print_json(payload, stream=None):
|
|
|
21
21
|
stream.write("\n")
|
|
22
22
|
|
|
23
23
|
|
|
24
|
+
def write_json(payload, path):
|
|
25
|
+
"""Write one machine-readable JSON document to a file.
|
|
26
|
+
|
|
27
|
+
Parameters
|
|
28
|
+
----------
|
|
29
|
+
payload : dict or list
|
|
30
|
+
The document; values JSON has no type for are written as strings.
|
|
31
|
+
path : str or Path
|
|
32
|
+
The file to create or replace.
|
|
33
|
+
"""
|
|
34
|
+
with open(path, "w", encoding="utf-8") as stream:
|
|
35
|
+
print_json(payload, stream=stream)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def print_run_summary(summary, *, json_output=False, path=None, human=None):
|
|
39
|
+
"""Report the summary of a command whose result is a file or a stream of records.
|
|
40
|
+
|
|
41
|
+
``proteome`` and ``lift`` write a FASTA or a catalogue, so their summary is
|
|
42
|
+
a second output. The complete summary goes to ``path`` when one is given,
|
|
43
|
+
and to standard output as JSON when ``json_output`` is set, as ``--json``
|
|
44
|
+
does in every other command. Otherwise a human summary goes to standard
|
|
45
|
+
error, which leaves standard output to the records.
|
|
46
|
+
|
|
47
|
+
Parameters
|
|
48
|
+
----------
|
|
49
|
+
summary : dict
|
|
50
|
+
The complete summary.
|
|
51
|
+
json_output : bool
|
|
52
|
+
Write the summary as one JSON document to standard output.
|
|
53
|
+
path : str or Path, optional
|
|
54
|
+
Also write the summary there as JSON.
|
|
55
|
+
human : dict, optional
|
|
56
|
+
What the human summary shows instead of ``summary``.
|
|
57
|
+
"""
|
|
58
|
+
if path is not None:
|
|
59
|
+
write_json(summary, path)
|
|
60
|
+
if json_output:
|
|
61
|
+
print_json(summary)
|
|
62
|
+
else:
|
|
63
|
+
print_fields(summary if human is None else human, stream=sys.stderr)
|
|
64
|
+
|
|
65
|
+
|
|
24
66
|
def _width():
|
|
25
67
|
return max(40, min(120, shutil.get_terminal_size(fallback=(100, 24)).columns))
|
|
26
68
|
|
|
@@ -572,7 +572,10 @@ def proteome_parser(prog=None):
|
|
|
572
572
|
parser.add_argument("--annotation", metavar="DIRECTORY",
|
|
573
573
|
help="Also write the ncORF models there as annotation.gtf with matching "
|
|
574
574
|
"transcripts.fasta and proteins.fasta, for PyEnsembl-based tools")
|
|
575
|
-
parser.add_argument("--
|
|
575
|
+
parser.add_argument("--summary", metavar="FILE", help="Also write the complete build summary there as JSON")
|
|
576
|
+
parser.add_argument("--json", action="store_true",
|
|
577
|
+
help="Write the complete build summary as JSON to standard output; requires --output, "
|
|
578
|
+
"which keeps the FASTA out of it")
|
|
576
579
|
return parser
|
|
577
580
|
|
|
578
581
|
|
|
@@ -737,7 +740,9 @@ def lift_parser(prog=None):
|
|
|
737
740
|
"ORFDATA_CACHE, OPENVAX_DATA_CACHE or the default")
|
|
738
741
|
parser.add_argument("--output", required=True, metavar="FILE",
|
|
739
742
|
help="Write the lifted catalogue here; gzipped when it ends in .gz")
|
|
740
|
-
parser.add_argument("--
|
|
743
|
+
parser.add_argument("--summary", metavar="FILE", help="Also write the complete lift summary there as JSON")
|
|
744
|
+
parser.add_argument("--json", action="store_true",
|
|
745
|
+
help="Write the complete lift summary as JSON to standard output")
|
|
741
746
|
return parser
|
|
742
747
|
|
|
743
748
|
|
|
@@ -259,11 +259,12 @@ def annotate_initiation_snv(orf, position, ref, alt, *, genome_build):
|
|
|
259
259
|
else "kozak_preference_unchanged"
|
|
260
260
|
)
|
|
261
261
|
codons = None
|
|
262
|
-
|
|
262
|
+
effective_table = getattr(orf, "effective_translation_table", orf.translation_table)
|
|
263
|
+
if relative > 0 and effective_table is not None:
|
|
263
264
|
offset = start + (relative - 1) // 3 * 3
|
|
264
265
|
before, after = sequence[offset : offset + 3], altered[offset : offset + 3]
|
|
265
266
|
if len(before) == 3 and all(b in "ACGT" for b in before + after):
|
|
266
|
-
table = genetic_code(
|
|
267
|
+
table = genetic_code(effective_table).codons
|
|
267
268
|
codons = {
|
|
268
269
|
"reference_codon": before,
|
|
269
270
|
"alternate_codon": after,
|
|
@@ -4,10 +4,11 @@ import sys
|
|
|
4
4
|
from collections import Counter
|
|
5
5
|
from contextlib import redirect_stdout
|
|
6
6
|
from dataclasses import asdict
|
|
7
|
+
from pathlib import Path
|
|
7
8
|
|
|
8
9
|
from .catalog import load_catalog
|
|
9
10
|
from .catalogs import CatalogRegistry
|
|
10
|
-
from .cli_output import print_result
|
|
11
|
+
from .cli_output import print_result, print_run_summary
|
|
11
12
|
from .cli_parser import UsageError
|
|
12
13
|
from .command_parsers import chains_parser, lift_parser
|
|
13
14
|
from .liftover import (
|
|
@@ -27,6 +28,8 @@ def lift(argv=None, prog=None):
|
|
|
27
28
|
try:
|
|
28
29
|
if args.catalog and (args.species or args.genome_build):
|
|
29
30
|
raise UsageError("Pass --catalog or --species/--genome-build, not both")
|
|
31
|
+
if args.summary is not None and Path(args.summary).resolve() == Path(args.output).resolve():
|
|
32
|
+
raise UsageError("--summary and --output name the same file")
|
|
30
33
|
registry = CatalogRegistry(cache_root=args.cache_root) if args.cache_root else None
|
|
31
34
|
catalog = (load_catalog(args.catalog) if args.catalog
|
|
32
35
|
else load_catalog(species=args.species, genome_build=args.genome_build, registry=registry))
|
|
@@ -48,7 +51,10 @@ def lift(argv=None, prog=None):
|
|
|
48
51
|
chains=[dict(chain=h["chain"], sha256=h["sha256"], lifted=h["lifted"]) for h in hops],
|
|
49
52
|
records=len(catalog.records), lifted_records=len(lifted.records), unmapped=len(unmapped),
|
|
50
53
|
unmapped_reasons=dict(Counter(u["reason"] for u in unmapped)), output=args.output)
|
|
51
|
-
|
|
54
|
+
try:
|
|
55
|
+
print_run_summary(summary, json_output=args.json, path=args.summary)
|
|
56
|
+
except OSError as error:
|
|
57
|
+
parser.fail(error)
|
|
52
58
|
|
|
53
59
|
|
|
54
60
|
def require_terms(source_build, target_build, species, accept_terms):
|
|
@@ -11,7 +11,7 @@ from .initiation_context import (
|
|
|
11
11
|
map_initiation_position,
|
|
12
12
|
)
|
|
13
13
|
from .reference import ReferenceContext, canonical_species, species_taxon
|
|
14
|
-
from .sequence import
|
|
14
|
+
from .sequence import genetic_code, read_orf
|
|
15
15
|
|
|
16
16
|
_INFER_BOUNDARY = object()
|
|
17
17
|
|
|
@@ -376,11 +376,24 @@ class TranscriptORF:
|
|
|
376
376
|
raise ValueError(f"Annotated CDS of {transcript.id} differs in sequence on {host.id}")
|
|
377
377
|
else:
|
|
378
378
|
own = start
|
|
379
|
+
# Resolve any explicit source transl_table declaration separately from
|
|
380
|
+
# the reference/compartment effective code so undeclared annotations do
|
|
381
|
+
# not silently fall back to nuclear table 1 on mitochondrial contigs.
|
|
382
|
+
source_table = getattr(transcript, "source_translation_table", None)
|
|
383
|
+
if source_table is not None:
|
|
384
|
+
genetic_code(source_table)
|
|
385
|
+
effective_table = (
|
|
386
|
+
source_table
|
|
387
|
+
if source_table is not None
|
|
388
|
+
else getattr(transcript, "translation_table", None)
|
|
389
|
+
)
|
|
390
|
+
effective_code = None if effective_table is None else genetic_code(effective_table)
|
|
379
391
|
# Ensembl marks only ATG/CTG/TTG starts with start_codon rows; a CDS beginning
|
|
380
392
|
# after its RNA's first base has an annotated start whatever the codon.
|
|
381
393
|
start_complete = bool(transcript.contains_start_codon or own > 0)
|
|
382
394
|
stop_complete = bool(transcript.contains_stop_codon or (
|
|
383
|
-
start_complete and length % 3 == 0 and
|
|
395
|
+
start_complete and length % 3 == 0 and effective_code is not None
|
|
396
|
+
and effective_code.codons.get(coding[-3:]) == "*"))
|
|
384
397
|
# Without a marked start or stop, the CDS is the same ORF on another RNA only if
|
|
385
398
|
# that RNA continues the same way beyond it; otherwise translation reads on.
|
|
386
399
|
if on is not None and _versioned(on) != _versioned(transcript) and (
|
|
@@ -398,7 +411,8 @@ class TranscriptORF:
|
|
|
398
411
|
annotation_id=transcript.protein_id + ("" if version is None else f".{version}"),
|
|
399
412
|
source_transcript_id=_versioned(transcript), equivalent_ids=(), _blocks=blocks,
|
|
400
413
|
_source_gene=(transcript.gene_id, transcript.gene_name),
|
|
401
|
-
_protein=transcript.protein_sequence, _source=source
|
|
414
|
+
_protein=transcript.protein_sequence, _source=source,
|
|
415
|
+
_table=source_table, _effective_table=effective_table)
|
|
402
416
|
return orf
|
|
403
417
|
|
|
404
418
|
@classmethod
|
|
@@ -561,17 +575,21 @@ class TranscriptORF:
|
|
|
561
575
|
def decoded_stop_codons(self):
|
|
562
576
|
"""``(codon_index, codon, residue)`` for internal stop codons the protein reads through.
|
|
563
577
|
|
|
564
|
-
Stops are judged by the ORF's
|
|
565
|
-
|
|
566
|
-
|
|
578
|
+
Stops are judged by :attr:`effective_genetic_code` (the ORF's declared
|
|
579
|
+
code when present, otherwise the annotated transcript's resolved
|
|
580
|
+
reference/compartment code). Selenocysteine ``U`` and readthrough
|
|
581
|
+
residues appear here; mitochondrial ``TGA`` tryptophan does not when the
|
|
582
|
+
mitochondrial genetic code is resolved. A fragment read with
|
|
567
583
|
``at(..., start_complete=False)`` is checked from its first codon. Empty
|
|
568
|
-
when the reading frame is unknown.
|
|
584
|
+
when the reading frame or effective genetic code is unknown.
|
|
569
585
|
"""
|
|
570
586
|
origin = self._origin
|
|
571
587
|
if origin is None:
|
|
572
588
|
return ()
|
|
573
|
-
code = self.
|
|
574
|
-
|
|
589
|
+
code = self.effective_genetic_code
|
|
590
|
+
if code is None:
|
|
591
|
+
return ()
|
|
592
|
+
codons = code.codons
|
|
575
593
|
protein, coding = self.protein_sequence, self.coding_sequence
|
|
576
594
|
first = 1 if self.start_complete else 0 # A complete start codon reads as methionine.
|
|
577
595
|
return tuple((i, coding[origin + 3 * i : origin + 3 * i + 3], protein[i])
|
|
@@ -617,6 +635,23 @@ class TranscriptORF:
|
|
|
617
635
|
"""Declared NCBI table ID, or None when the source did not declare one."""
|
|
618
636
|
return self.__dict__.get("_table") if self.model is None else self.model.translation_table
|
|
619
637
|
|
|
638
|
+
@property
|
|
639
|
+
def effective_translation_table(self):
|
|
640
|
+
"""Effective NCBI table ID for decoding this ORF, or None when unresolved.
|
|
641
|
+
|
|
642
|
+
Returns :attr:`translation_table` when declared by the source model or
|
|
643
|
+
annotation. For an annotated CDS without a source declaration, falls
|
|
644
|
+
back to the transcript's resolved reference/compartment table (for
|
|
645
|
+
example NCBI table 2 on vertebrate mitochondria) without silently
|
|
646
|
+
substituting nuclear table 1 when unresolved.
|
|
647
|
+
"""
|
|
648
|
+
declared = self.translation_table
|
|
649
|
+
if declared is not None:
|
|
650
|
+
return declared
|
|
651
|
+
if "_effective_table" in self.__dict__:
|
|
652
|
+
return self._effective_table
|
|
653
|
+
return getattr(self.transcript, "translation_table", None)
|
|
654
|
+
|
|
620
655
|
@property
|
|
621
656
|
def contig(self):
|
|
622
657
|
return self.transcript.contig
|
|
@@ -756,13 +791,25 @@ class TranscriptORF:
|
|
|
756
791
|
def genetic_code(self):
|
|
757
792
|
"""The ORF's declared NCBI code; modified products must keep using it.
|
|
758
793
|
|
|
759
|
-
None for an annotated CDS
|
|
794
|
+
None for an annotated CDS when the annotation did not declare a
|
|
795
|
+
``transl_table``; see :attr:`effective_genetic_code` for the resolved
|
|
796
|
+
decoding table.
|
|
760
797
|
"""
|
|
761
798
|
if self.record is None:
|
|
762
799
|
table = self.__dict__.get("_table")
|
|
763
800
|
return None if table is None else genetic_code(table)
|
|
764
801
|
return genetic_code(self.model.translation_table)
|
|
765
802
|
|
|
803
|
+
@property
|
|
804
|
+
def effective_genetic_code(self):
|
|
805
|
+
"""Effective :class:`GeneticCode` for decoding this ORF, or None if unresolved.
|
|
806
|
+
|
|
807
|
+
Uses :attr:`effective_translation_table` and fails closed on unsupported
|
|
808
|
+
NCBI table IDs rather than falling back to nuclear table 1.
|
|
809
|
+
"""
|
|
810
|
+
table = self.effective_translation_table
|
|
811
|
+
return None if table is None else genetic_code(table)
|
|
812
|
+
|
|
766
813
|
@property
|
|
767
814
|
def orf_id(self):
|
|
768
815
|
"""The source ORF ID, or the versioned protein ID of an annotated CDS."""
|
|
@@ -5,7 +5,7 @@ from contextlib import redirect_stdout
|
|
|
5
5
|
from pathlib import Path
|
|
6
6
|
|
|
7
7
|
from .catalog import load_catalog
|
|
8
|
-
from .cli_output import
|
|
8
|
+
from .cli_output import print_run_summary
|
|
9
9
|
from .cli_parser import UsageError
|
|
10
10
|
from .command_parsers import proteome_parser
|
|
11
11
|
from .proteome import Proteome
|
|
@@ -26,6 +26,14 @@ def run(argv=None, prog=None, *, genome_loader=None):
|
|
|
26
26
|
raise UsageError("Pass --genome or --species and --release, not both")
|
|
27
27
|
if args.genome is None and (args.species is None or args.release is None):
|
|
28
28
|
raise UsageError("Pass --species and --release, or --genome")
|
|
29
|
+
if args.json and args.output is None:
|
|
30
|
+
raise UsageError("--json writes the summary to standard output, where the FASTA goes without --output: "
|
|
31
|
+
"add --output FILE, or use --summary FILE to keep the FASTA on standard output")
|
|
32
|
+
if args.summary is not None and any(
|
|
33
|
+
other is not None and Path(args.summary).resolve() == Path(other).resolve()
|
|
34
|
+
for other in (args.output, args.snapshot)
|
|
35
|
+
):
|
|
36
|
+
raise UsageError("--summary names the same file as --output or --snapshot")
|
|
29
37
|
names = [name.strip() for value in args.nc_orf_sources or ()
|
|
30
38
|
for name in ([value] if Path(value).is_file() else value.split(","))]
|
|
31
39
|
if not all(names):
|
|
@@ -60,7 +68,9 @@ def run(argv=None, prog=None, *, genome_loader=None):
|
|
|
60
68
|
for e in proteome.excluded]
|
|
61
69
|
if annotation is not None:
|
|
62
70
|
summary["annotation"] = annotation
|
|
63
|
-
|
|
64
|
-
summary =
|
|
65
|
-
|
|
71
|
+
try:
|
|
72
|
+
print_run_summary(summary, json_output=args.json, path=args.summary,
|
|
73
|
+
human=dict(output=args.output or "stdout (FASTA)", **summary))
|
|
74
|
+
except OSError as error:
|
|
75
|
+
parser.fail(error)
|
|
66
76
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.54.1"
|
|
@@ -189,7 +189,7 @@ def audit_cases(tmp_path, monkeypatch, paired, chain, pinned, genome, viral_pane
|
|
|
189
189
|
(("chains", "download"), chain_args),
|
|
190
190
|
(("lift",), ["--catalog", str(old_path), "--to", "GRCm39", "--chain", str(chain.path),
|
|
191
191
|
"--output", str(tmp_path / "lifted.json")]),
|
|
192
|
-
(("proteome",), ["--species", "mouse", "--release", "106"]),
|
|
192
|
+
(("proteome",), ["--species", "mouse", "--release", "106", "--output", str(tmp_path / "proteome.fa")]),
|
|
193
193
|
(("setup",), ["--species", "mouse", "--catalogs", name, "--collections", "none", "--accept-terms"]),
|
|
194
194
|
(("data", "list"), []),
|
|
195
195
|
(("data", "status"), []),
|
|
@@ -220,7 +220,8 @@ def test_every_command_executes_with_human_and_json_output(audit_cases, monkeypa
|
|
|
220
220
|
argv = [*path, *options, *(["--json"] if machine else [])]
|
|
221
221
|
invoke(argv)
|
|
222
222
|
captured = capsys.readouterr()
|
|
223
|
-
|
|
223
|
+
# lift and proteome write a file; their human summary is on stderr, their JSON on stdout.
|
|
224
|
+
output = captured.err if path in (("lift",), ("proteome",)) and not machine else captured.out
|
|
224
225
|
transcript.append("$ orfdata " + " ".join(argv) + "\n" + captured.out + captured.err)
|
|
225
226
|
save_transcript("commands.txt", transcript, tmp_path)
|
|
226
227
|
assert output.strip(), argv
|
|
@@ -237,10 +238,10 @@ def test_every_command_executes_with_human_and_json_output(audit_cases, monkeypa
|
|
|
237
238
|
assert "TPM" in output and "iBAQ" in output and "measured" in output
|
|
238
239
|
if path == ("datasets", "pairs"):
|
|
239
240
|
assert "same_material" in output and "concurrent" in output and "canonical_translation" in output
|
|
241
|
+
if path in (("proteome",), ("lift",)):
|
|
242
|
+
assert not (captured.err if machine else captured.out), argv
|
|
240
243
|
if path == ("proteome",):
|
|
241
|
-
assert
|
|
242
|
-
elif path == ("lift",):
|
|
243
|
-
assert not captured.out
|
|
244
|
+
assert (tmp_path / "proteome.fa").read_text().startswith(">")
|
|
244
245
|
|
|
245
246
|
|
|
246
247
|
@pytest.mark.parametrize("argv", [
|
|
@@ -186,3 +186,102 @@ def test_native_openprot_import_accepts_only_a_declared_supported_code(native, t
|
|
|
186
186
|
with pytest.raises(ValueError, match=error):
|
|
187
187
|
import_orfs(inputs, output, replace(manifest, processing=dict(
|
|
188
188
|
manifest.processing, translation_tables=declarations)))
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
def test_annotated_mitochondrial_orf_distinguishes_declared_and_effective_code(tmp_path, monkeypatch):
|
|
192
|
+
"""Annotated mitochondrial CDSs keep null source declaration while decoding with table 2 (#203)."""
|
|
193
|
+
from test_genomes import RCRS, slice_pins
|
|
194
|
+
|
|
195
|
+
from orfdata import TranscriptORF, genomes, install_genome, pinned_genomes
|
|
196
|
+
|
|
197
|
+
paths, pins = slice_pins(tmp_path)
|
|
198
|
+
t2t, = pinned_genomes(species="human")
|
|
199
|
+
pins["mouse-slice"]["mitochondria"] = {RCRS: dict(t2t.mitochondria[RCRS])}
|
|
200
|
+
monkeypatch.setattr(genomes, "_pins", lambda: pins)
|
|
201
|
+
installed = install_genome("mouse-slice", source_paths=paths, cache_root=tmp_path / "root")
|
|
202
|
+
|
|
203
|
+
nd1, = installed.transcripts_at_locus(RCRS, 3307, 3307)
|
|
204
|
+
assert nd1.source_translation_table is None
|
|
205
|
+
assert nd1.translation_table == 2
|
|
206
|
+
|
|
207
|
+
orf = TranscriptORF.from_annotation(nd1)
|
|
208
|
+
assert orf.translation_table is None
|
|
209
|
+
assert orf.genetic_code is None
|
|
210
|
+
assert orf.effective_translation_table == 2
|
|
211
|
+
assert orf.effective_genetic_code == genetic_code(2)
|
|
212
|
+
# MT-ND1 contains internal TGA tryptophan codons; under table 2 they are not recoded stops.
|
|
213
|
+
assert "TGA" in orf.coding_sequence
|
|
214
|
+
assert orf.decoded_stop_codons == ()
|
|
215
|
+
|
|
216
|
+
snapshot = json.loads(json.dumps(orf.to_dict()))
|
|
217
|
+
assert snapshot["translation_table"] is None
|
|
218
|
+
assert snapshot["decoded_stop_codons"] == []
|
|
219
|
+
restored = TranscriptORF.from_dict(snapshot, nd1)
|
|
220
|
+
assert restored.translation_table is None
|
|
221
|
+
assert restored.effective_translation_table == 2
|
|
222
|
+
assert restored.effective_genetic_code == genetic_code(2)
|
|
223
|
+
assert restored.decoded_stop_codons == ()
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
def test_annotated_cds_respects_explicit_transl_table_and_fails_closed_on_unsupported(tmp_path):
|
|
227
|
+
"""Explicit GTF transl_table populates translation_table; unsupported codes fail closed."""
|
|
228
|
+
from pyensembl import Genome
|
|
229
|
+
|
|
230
|
+
from orfdata import TranscriptORF
|
|
231
|
+
|
|
232
|
+
def build_genome(root, *, contig, coding_seq, protein_seq, extra_attrs="", species="homo_sapiens"):
|
|
233
|
+
root.mkdir(parents=True, exist_ok=True)
|
|
234
|
+
gtf = root / "ann.gtf"
|
|
235
|
+
cdna = root / "cdna.fa"
|
|
236
|
+
pep = root / "pep.fa"
|
|
237
|
+
n = len(coding_seq)
|
|
238
|
+
attrs = f'gene_id "G1"; gene_name "G1"; transcript_id "T1"; protein_id "P1";{extra_attrs}'
|
|
239
|
+
gtf.write_text(
|
|
240
|
+
f'{contig}\tsynth\tgene\t1\t{n}\t.\t+\t.\tgene_id "G1"; gene_name "G1";\n'
|
|
241
|
+
f'{contig}\tsynth\ttranscript\t1\t{n}\t.\t+\t.\t{attrs}\n'
|
|
242
|
+
f'{contig}\tsynth\texon\t1\t{n}\t.\t+\t.\t{attrs} exon_id "E1"; exon_number "1";\n'
|
|
243
|
+
f'{contig}\tsynth\tCDS\t1\t{n}\t.\t+\t0\t{attrs}\n'
|
|
244
|
+
f'{contig}\tsynth\tstart_codon\t1\t3\t.\t+\t0\t{attrs}\n'
|
|
245
|
+
)
|
|
246
|
+
cdna.write_text(f">T1\n{coding_seq}\n")
|
|
247
|
+
pep.write_text(f">P1\n{protein_seq}\n")
|
|
248
|
+
g = Genome(
|
|
249
|
+
reference_name="GRCh38", annotation_name="synth", annotation_version="1",
|
|
250
|
+
gtf_path_or_url=str(gtf), transcript_fasta_paths_or_urls=str(cdna),
|
|
251
|
+
protein_fasta_paths_or_urls=str(pep), cache_directory_path=str(root / "cache"),
|
|
252
|
+
species=species,
|
|
253
|
+
)
|
|
254
|
+
g.index()
|
|
255
|
+
return g
|
|
256
|
+
|
|
257
|
+
# Vertebrate mitochondrial CDS ending in AGA (stop in table 2, R in table 1) with internal TGA (W).
|
|
258
|
+
mito_declared = build_genome(
|
|
259
|
+
tmp_path / "mito_declared", contig="MT", coding_seq="ATGTGAAAAAGA", protein_seq="MWK",
|
|
260
|
+
extra_attrs=' transl_table "2";',
|
|
261
|
+
)
|
|
262
|
+
try:
|
|
263
|
+
t = mito_declared.transcript_by_id("T1")
|
|
264
|
+
orf = TranscriptORF.from_annotation(t)
|
|
265
|
+
assert orf.translation_table == 2
|
|
266
|
+
assert orf.genetic_code == genetic_code(2)
|
|
267
|
+
assert orf.effective_translation_table == 2
|
|
268
|
+
assert orf.stop_complete is True
|
|
269
|
+
assert orf.stop_codon == "AGA"
|
|
270
|
+
assert orf.decoded_stop_codons == ()
|
|
271
|
+
# Initiation context codon consequence uses effective table 2 (TGA -> W, not *).
|
|
272
|
+
snv = orf.annotate_initiation_snv(5, "G", "A", genome_build="GRCh38")
|
|
273
|
+
assert snv["codon_consequence"]["reference_codon"] == "TGA"
|
|
274
|
+
assert snv["codon_consequence"]["reference_codon_translation"] == "W"
|
|
275
|
+
finally:
|
|
276
|
+
mito_declared.close()
|
|
277
|
+
|
|
278
|
+
# Unsupported declared transl_table fails closed rather than falling back to nuclear table 1.
|
|
279
|
+
unsupported = build_genome(
|
|
280
|
+
tmp_path / "unsupported", contig="1", coding_seq="ATGAAATAA", protein_seq="MK",
|
|
281
|
+
extra_attrs=' transl_table "4";',
|
|
282
|
+
)
|
|
283
|
+
try:
|
|
284
|
+
with pytest.raises(ValueError, match="Unsupported ORF translation table 4"):
|
|
285
|
+
TranscriptORF.from_annotation(unsupported.transcript_by_id("T1"))
|
|
286
|
+
finally:
|
|
287
|
+
unsupported.close()
|
|
@@ -281,7 +281,9 @@ def test_cli_lifts_with_a_chain_file_or_a_downloaded_pin(chain, pinned, tmp_path
|
|
|
281
281
|
old.save(source)
|
|
282
282
|
by_file, by_pin = tmp_path / "file.json.gz", tmp_path / "pin.json.gz"
|
|
283
283
|
run(["lift", "--catalog", str(source), "--to", "GRCm39", "--chain", str(chain.path), "--output", str(by_file), "--json"])
|
|
284
|
-
|
|
284
|
+
captured = capsys.readouterr()
|
|
285
|
+
summary = json.loads(captured.out) # Complete JSON on stdout, as --json is everywhere (#165).
|
|
286
|
+
assert not captured.err
|
|
285
287
|
assert (summary["records"], summary["lifted_records"], summary["unmapped"]) == (4, 4, 0)
|
|
286
288
|
assert summary["lifted"] == "orfdata-catalog:fixture-v1@GRCm39"
|
|
287
289
|
assert load_catalog(by_file).records == lift_catalog(old, chain).records
|
|
@@ -289,8 +291,17 @@ def test_cli_lifts_with_a_chain_file_or_a_downloaded_pin(chain, pinned, tmp_path
|
|
|
289
291
|
run(["chains", "--cache-root", cache, "download", "GRCm38", "GRCm39", "--source-path", str(chain.path),
|
|
290
292
|
"--accept-terms", "--json"])
|
|
291
293
|
assert json.loads(capsys.readouterr().out)["path"].endswith(chain.path.name)
|
|
292
|
-
run(["lift", "--catalog", str(source), "--to", "GRCm39", "--cache-root", cache, "--output", str(by_pin),
|
|
294
|
+
run(["lift", "--catalog", str(source), "--to", "GRCm39", "--cache-root", cache, "--output", str(by_pin),
|
|
295
|
+
"--summary", str(tmp_path / "summary.json")])
|
|
293
296
|
assert by_pin.read_bytes() == by_file.read_bytes()
|
|
297
|
+
captured = capsys.readouterr() # --summary keeps the human summary on stderr and stdout empty.
|
|
298
|
+
assert not captured.out and "lifted records: 4" in captured.err
|
|
299
|
+
assert json.loads((tmp_path / "summary.json").read_text()) == dict(summary, output=str(by_pin))
|
|
300
|
+
for same_summary in (str(by_pin), f"{by_pin.parent}/./{by_pin.name}"):
|
|
301
|
+
with pytest.raises(SystemExit) as error:
|
|
302
|
+
run(["lift", "--catalog", str(source), "--to", "GRCm39", "--cache-root", cache, "--output", str(by_pin),
|
|
303
|
+
"--summary", same_summary])
|
|
304
|
+
assert error.value.code == 2 and "name the same file" in capsys.readouterr().err
|
|
294
305
|
for options, message in ((["--species", "mouse"], "not both"),
|
|
295
306
|
(["--to", "GRCm40"], "No pinned chain files lift mus_musculus GRCm38 to GRCm40")):
|
|
296
307
|
argv = ["lift", "--catalog", str(source), "--to", "GRCm39", "--output", str(by_pin)]
|
|
@@ -502,13 +513,13 @@ def test_routes_take_the_fewest_hops_and_lift_through_each(chain, tmp_path, monk
|
|
|
502
513
|
source = tmp_path / "old.json"
|
|
503
514
|
old.save(source)
|
|
504
515
|
run(["lift", "--catalog", str(source), "--to", "GRCm40", "--output", str(tmp_path / "far.json"), "--json"])
|
|
505
|
-
summary = json.loads(capsys.readouterr().
|
|
516
|
+
summary = json.loads(capsys.readouterr().out)
|
|
506
517
|
assert [c["chain"] for c in summary["chains"]] == [chain.path.name, identity.name]
|
|
507
518
|
assert summary["lifted_records"] == 4 and load_catalog(tmp_path / "far.json").records == far.records
|
|
508
519
|
# Lifting a lifted file reports only this command's hops.
|
|
509
520
|
lift_catalog(old, chain).save(tmp_path / "mid.json")
|
|
510
521
|
run(["lift", "--catalog", str(tmp_path / "mid.json"), "--to", "GRCm40", "--output", str(tmp_path / "far2.json"), "--json"])
|
|
511
|
-
assert [c["chain"] for c in json.loads(capsys.readouterr().
|
|
522
|
+
assert [c["chain"] for c in json.loads(capsys.readouterr().out)["chains"]] == [identity.name]
|
|
512
523
|
|
|
513
524
|
|
|
514
525
|
def test_download_all_skips_restricted_chains_without_consent(pinned, capsys):
|