orfdata 0.48.3__tar.gz → 0.48.5__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.48.3/orfdata.egg-info → orfdata-0.48.5}/PKG-INFO +1 -1
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/cli.py +136 -55
- orfdata-0.48.5/orfdata/version.py +1 -0
- {orfdata-0.48.3 → orfdata-0.48.5/orfdata.egg-info}/PKG-INFO +1 -1
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata.egg-info/SOURCES.txt +2 -0
- orfdata-0.48.5/tests/test_cli_dispatch.py +77 -0
- orfdata-0.48.5/tests/test_real_viral_records.py +142 -0
- orfdata-0.48.3/orfdata/version.py +0 -1
- {orfdata-0.48.3 → orfdata-0.48.5}/LICENSE +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/MANIFEST.in +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/README.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/deploy.sh +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/catalogs.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/cli-design.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/cli.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/copy-yeast.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/coverage.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/dog-data-sources.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/dog-peptides.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/downloads.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/downstream.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/examples.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/human-tissue.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/index.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/ingolia-yeast.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/mammary-stroma.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/measurements.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/pairing.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/pfizer-peptides.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/pfizer-protein.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/pfizer-rna.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/proteome.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/reference.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/search-references.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/source-references.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/species.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/storage.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/stylesheets/docs.css +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs/viral.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/docs.sh +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/lint.sh +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/mkdocs.yml +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/__init__.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/_pinned_genome.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/_structure.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/artifact_archives.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/build.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/cache.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/catalog.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/catalog_cli.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/catalog_manifest.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/catalogs.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/cli_output.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/cli_parser.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/catalogs.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/chains.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/datasets.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/genomes.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/ires/rfam-15.1-human-ires.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/orf-evidence/AUTHOR-LICENSE.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/orf-evidence/NOTICE.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/orf-evidence/catalog.json.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/orf-evidence/manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/uorf-evidence/AUTHOR-LICENSE.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/uorf-evidence/NOTICE.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/uorf-evidence/catalog.json.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/uorf-evidence/manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/viral/NOTICE.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/viral/gdc-grch38-d1-vd1-coverage.tsv +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/viral/gdc-grch38-d1-vd1-genbank.tsv +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/viral/gdc-grch38-d1-vd1-pave.tsv +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/viral/hpv16-refseq-CDS.json.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data/viral/subsets.yaml +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/data_resources.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/dataset.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/dataset_cli.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/datasets.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/download_cli.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/downloads.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/ensembl.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/errors.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/evidence.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/evidence_summary.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/fasta.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/genbank.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/genomes.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/genomes_cli.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/gtf.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/initiation_context.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/install.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/liftover.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/liftover_cli.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/measurements.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/model.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/net.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/numeric_vector.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/pairing.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/proteome.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/proteome_cli.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/record_sources.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/reference.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/reference_ledger.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/reference_mapping.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/reference_table.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/refseq.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/rna.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/search_reference.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sequence.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/source_cds.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/__init__.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/copy.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/ingolia.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/kaabinejadian.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/mammary_stroma.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/ncorf_mammals.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/openprot.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/peptideatlas.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/pfizer.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/pfizer_attribution.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/pfizer_dataset.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/pfizer_definitions.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/pfizer_evidence.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/pfizer_lineage.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/pfizer_native.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/pfizer_queries.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/pfizer_rna.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/pfizer_vendor.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/riborf.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/riborf_native.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/sources/wang.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/viral.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/viral_annotation.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/viral_cli.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/viral_coverage.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/viral_installed.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/viral_panel.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/viral_registry.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata/viral_subsets.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata.egg-info/dependency_links.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata.egg-info/entry_points.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata.egg-info/requires.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/orfdata.egg-info/top_level.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/pyproject.toml +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/setup.cfg +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/test.sh +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/conftest.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/aggregate_evidence.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/GSM1905474.soft +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/GSM1905474_KL9_fpkm.txt.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/GSM1905476.soft +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/GSM1905476_KL10_fpkm.txt.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/GSM1905478.soft +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/GSM1905478_KL11_fpkm.txt.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/GSM1905479.soft +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/GSM1905479_KL12_fpkm.txt.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/NOTICE.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/expected.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/geo-series.soft +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/methods.pdf +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/paper.xml +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/pmc-metadata.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/qconcat.fasta +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/copy/workbook.xlsx +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ensembl/README.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ensembl/gtf.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ensembl/internal-stop/gtf.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ensembl/internal-stop/manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ensembl/internal-stop/ncrna.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ensembl/internal-stop/protein.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ensembl/internal-stop/rna.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ensembl/manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ensembl/ncrna.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ensembl/protein.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ensembl/rna.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346111.metadata.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346111.quant.txt.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346114.metadata.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346114.quant.txt.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346115.metadata.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346115.quant.txt.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346116.metadata.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346116.quant.txt.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346117.metadata.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346117.quant.txt.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346118.metadata.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346118.quant.txt.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346120.metadata.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346120.quant.txt.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346122.metadata.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/GSM346122.quant.txt.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/NOTICE.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/expected.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ingolia/readMe.txt.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/kaabinejadian/README.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/kaabinejadian/Results.zip +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/kaabinejadian/manifest-v1.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/kaabinejadian/manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/kaabinejadian/sdrf.tsv +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/mammary_stroma/NOTICE.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/mammary_stroma/geo.soft.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/mammary_stroma/manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/mammary_stroma/paper.xml +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/mammary_stroma/peptides.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/mammary_stroma/project.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/mammary_stroma/proteinGroups.txt +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/mammary_stroma/rna.csv.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ncorf_mammals/README.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ncorf_mammals/S3.xlsx +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ncorf_mammals/ensembl107.cdna.fa.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ncorf_mammals/ensembl107.gtf.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ncorf_mammals/human-ensembl107.gtf.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ncorf_mammals/human.bed +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ncorf_mammals/human.pep.fa +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ncorf_mammals/mouse.bed +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/ncorf_mammals/mouse.pep.fa +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/openprot/README.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/openprot/ensembl106.cdna.fa.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/openprot/ensembl106.gtf.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.bed.zip +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.fasta.zip +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.tsv.zip +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/peptideatlas/README.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/peptideatlas/atlas_build.tsv.zip +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/peptideatlas/ensembl.pep.fa.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/peptideatlas/manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/NOTICE.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/dog/expected.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/dog/manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/dog/protein.tsv +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/dog/search.fasta +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/human/expected.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/human/manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/human/protein.tsv +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/human/search.fasta +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/mouse/expected.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/mouse/manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/mouse/protein.tsv +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/mouse/search.fasta +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/NOTICE.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/acquisition-missingness.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/definitions.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/dog-panel.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/membership-search-slice.fasta +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/memberships.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/native.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/parent-status-search-slice.fasta +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/parent-status.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/psm-parent-sets-search-slice.fasta +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/psm-parent-sets.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/search-slice.fasta +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/search-slice.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/study-slice.xml +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer/vendor/summary-samples.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer_rna/GSE325522_family.soft.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer_rna/GSE325523_family.soft.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer_rna/GSE325525_family.soft.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer_rna/NOTICE.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer_rna/counts.csv.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer_rna/dog-annotation.gtf.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer_rna/dog-expected.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer_rna/dog-manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer_rna/mouse-annotation.gtf.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer_rna/mouse-expected.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer_rna/mouse-manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/pfizer_rna/samples.xlsx +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/references/README.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/references/canis_lupus_familiaris.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/references/context-keys-v0.4.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/references/ensembl115.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/references/homo_sapiens.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/references/mitochondrial.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/references/mus_musculus.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/references/saccharomyces_cerevisiae.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/references/transcript_orf_v1_0.42.0.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/references/uniprot_literature.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/regions/NOTICE.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/regions/ingolia.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/README.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/SD3.xlsx +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/ensembl107.cdna.fa.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/ensembl107.gtf.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/ensembl107.ncrna.fa.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/gencodeM25.gtf.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/gencodeM25.rna.fa.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/human-ensembl105.cdna.fa.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/human-ensembl105.gtf.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/human-ensembl105.ncrna.fa.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/v3-manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/worm-ensembl105.cdna.fa.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/worm-ensembl105.gtf.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/worm-ensembl105.ncrna.fa.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/yeast-ensembl115.cdna.fa.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/yeast-ensembl115.dna.fa.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/yeast-ensembl115.gtf.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/zebrafish-ensembl115.cdna.fa.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/zebrafish-ensembl115.gtf.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/riborf/zebrafish-ensembl115.ncrna.fa.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/search_reference/NOTICE.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/search_reference/dog.fasta +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/search_reference/ensembl83-expected.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/search_reference/ensembl83-human.fasta.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/search_reference/expected.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/storage/README.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/storage/generate.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/storage/v1.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/storage/v1.sqlite +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/storage/v2.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/storage/v2.sqlite +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/storage/v3.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/storage/v3.sqlite +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/storage/v4.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/storage/v4.sqlite +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/viral/GRCh83.d1.vd1_virus_decoy.txt.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/viral/NC_001526.4.gb.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/viral/genbank/HBV__X04615.1.gb.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/viral/genbank/HPV16__K02718.1.gb.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/viral/genbank/HPV35__X74477.1.gb.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/viral/genbank/HPV51__M62877.1.gb.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/viral/genbank/HPV56__X74483.1.gb.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/wang/NOTICE.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/wang/annotation.gtf.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/wang/copies.zip +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/wang/expected.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/wang/manifest.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/wang/protein.zip +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/wang/rna.zip +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/data/wang/search.fasta.gz +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_artifact_archives.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_bundle_readers.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_cache.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_catalog_registry.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_cli_audit.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_cli_options.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_copy.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_cross_reference_pairing.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_data_resources.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_dog_export_read_ahead.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_dog_ncorf_search.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_dog_peptides.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_downloads.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_ensembl.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_ensembl_search_reference.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_evidence_rules.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_evidence_summary.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_exit_statuses.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_export_sqlite_rows.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_extraction_budget.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_ftps_sqlite.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_genbank.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_genbank_equivalence.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_genetic_codes.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_genomes.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_ingolia.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_initiation_context.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_liftover.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_local_build_queries.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_mammary_stroma.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_measurements.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_merge_catalogs.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_more_species.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_ncorf_mammals.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_numeric_vector.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_openprot.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_orf_cases.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_orf_gtf.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_package_dog_dataset.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_package_sqlite_archive.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_paired_selectors.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_pairing.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_pfizer.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_pfizer_attribution.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_pfizer_dataset.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_pfizer_definitions.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_pfizer_evidence.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_pfizer_lineage.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_pfizer_native.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_pfizer_rna.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_pfizer_vendor.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_protein_set.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_proteome.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_proteome_external.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_proteome_fasta_tokens.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_proteome_producer_graph.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_reference_context.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_reference_ledger.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_reference_mapping.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_reference_orf.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_reference_table.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_refseq.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_region_targets.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_resume.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_riborf.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_search_reference.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_selectors.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_shared_protein_ids.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_source_cds.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_storage.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_transcript_orf_serialization.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_uorf_catalog.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_verify_dog_dataset.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_viral.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_viral_bundle.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_viral_cli.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_viral_collections.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_viral_completeness.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_viral_coverage.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_viral_host_group.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_viral_initiation.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_viral_installed.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_viral_origin_join.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_viral_sources.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_viral_subsets.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tests/test_wang.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/README-dog-results.md +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/__init__.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/build_dog_dataset.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/build_gdc_viral_coverage.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/build_hpv16_cds.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/build_reference_ledger.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/dog_result_plan.json +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/export_dog_lineage.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/export_dog_results.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/export_sqlite_rows.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/extraction_budget.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/ftps_sqlite.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/inspect_dog_results.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/normalize_dog_evidence.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/package_dog_dataset.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/package_sqlite_archive.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/verify_dog_dataset.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/verify_mammary_stroma.py +0 -0
- {orfdata-0.48.3 → orfdata-0.48.5}/tools/verify_riborf_native.py +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""
|
|
1
|
+
"""The ``orfdata`` command: its command guide, dispatch to each command, and the ``query`` and ``setup`` commands."""
|
|
2
2
|
|
|
3
3
|
import argparse
|
|
4
4
|
import csv
|
|
@@ -6,6 +6,8 @@ import json
|
|
|
6
6
|
import re
|
|
7
7
|
import sys
|
|
8
8
|
from contextlib import redirect_stdout
|
|
9
|
+
from dataclasses import dataclass
|
|
10
|
+
from importlib import import_module
|
|
9
11
|
|
|
10
12
|
from .catalog import EVIDENCE_METHODS, UORFCatalog, load_catalog, merge_catalogs
|
|
11
13
|
from .cli_output import print_result, print_table
|
|
@@ -20,22 +22,83 @@ from .cli_parser import (
|
|
|
20
22
|
)
|
|
21
23
|
from .evidence import _RENAMED, MS, SYNONYMS, RiboSeq, evidence_rule
|
|
22
24
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
|
|
26
|
+
@dataclass(frozen=True)
|
|
27
|
+
class Command:
|
|
28
|
+
"""One top-level ``orfdata`` command: its line in the command guide and the function that runs it.
|
|
29
|
+
|
|
30
|
+
Attributes
|
|
31
|
+
----------
|
|
32
|
+
description : str
|
|
33
|
+
What the command guide says the command does.
|
|
34
|
+
function : str or None
|
|
35
|
+
``"module:name"`` of the function that runs the command, called as
|
|
36
|
+
``function(argv, prog=...)`` with the arguments after the command name.
|
|
37
|
+
It is imported only when the command runs, so the guide and the other
|
|
38
|
+
commands never load it. None for ``help``, which :func:`run` answers
|
|
39
|
+
itself.
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
description: str
|
|
43
|
+
function: str | None = None
|
|
44
|
+
|
|
45
|
+
def load(self):
|
|
46
|
+
"""Import and return the function that runs this command.
|
|
47
|
+
|
|
48
|
+
Returns
|
|
49
|
+
-------
|
|
50
|
+
callable
|
|
51
|
+
Takes the command's own arguments and ``prog``.
|
|
52
|
+
|
|
53
|
+
Raises
|
|
54
|
+
------
|
|
55
|
+
ValueError
|
|
56
|
+
If the command has no function of its own, as for ``help``.
|
|
57
|
+
"""
|
|
58
|
+
if self.function is None:
|
|
59
|
+
raise ValueError("This command is answered by orfdata.cli.run itself")
|
|
60
|
+
module, name = self.function.split(":")
|
|
61
|
+
return getattr(import_module(module), name)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
# Every top-level command, in the command guide's order. Adding one here lists it and runs it.
|
|
65
|
+
COMMAND_TABLE = {
|
|
66
|
+
"data": Command("Discover downloadable data, inspect local files, and fetch resources",
|
|
67
|
+
"orfdata.download_cli:run"),
|
|
68
|
+
"query": Command("Find ORFs and export catalogue records", "orfdata.cli:query"),
|
|
69
|
+
"catalogs": Command("Manage optional ORF catalogues", "orfdata.catalog_cli:run"),
|
|
70
|
+
"datasets": Command("Manage and query quantitative RNA/protein datasets", "orfdata.dataset_cli:run"),
|
|
71
|
+
"proteome": Command("Build a reference proteome and export FASTA", "orfdata.proteome_cli:run"),
|
|
72
|
+
"viral": Command("Inspect viral coverage, subsets, and installed reference layers", "orfdata.viral_cli:run"),
|
|
73
|
+
"setup": Command("Install a species' default catalogues and reference collections", "orfdata.cli:setup"),
|
|
74
|
+
"genomes": Command("Manage pinned genome annotations", "orfdata.genomes_cli:run"),
|
|
75
|
+
"chains": Command("List and download assembly mapping files", "orfdata.liftover_cli:chains"),
|
|
76
|
+
"lift": Command("Map an ORF catalogue to another genome assembly", "orfdata.liftover_cli:lift"),
|
|
77
|
+
"help": Command("Show help for a command"),
|
|
35
78
|
}
|
|
79
|
+
# Other names a command answers to; its help and errors name it as typed.
|
|
80
|
+
COMMAND_ALIASES = {"download": "data", "downloads": "data"}
|
|
81
|
+
# Each command's guide line by name, as before COMMAND_TABLE existed.
|
|
82
|
+
COMMANDS = {name: command.description for name, command in COMMAND_TABLE.items()}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
def command_guide(prog="orfdata"):
|
|
86
|
+
"""Return the parser whose help is the ``orfdata`` command guide.
|
|
36
87
|
|
|
88
|
+
It lists every command in :data:`COMMAND_TABLE`, and parses nothing else:
|
|
89
|
+
:func:`run` uses it to print the guide and to report an unknown command.
|
|
37
90
|
|
|
38
|
-
|
|
91
|
+
Parameters
|
|
92
|
+
----------
|
|
93
|
+
prog : str, optional
|
|
94
|
+
The program name the guide shows, ``orfdata`` by default.
|
|
95
|
+
|
|
96
|
+
Returns
|
|
97
|
+
-------
|
|
98
|
+
ArgumentParser
|
|
99
|
+
Its ``print_help()`` prints the guide; its ``error()`` exits with
|
|
100
|
+
status 2.
|
|
101
|
+
"""
|
|
39
102
|
parser = ArgumentParser(
|
|
40
103
|
prog=prog, description="ORFdata: discover reference data, query ORFs, and build proteomes.",
|
|
41
104
|
epilog="Start here:\n"
|
|
@@ -48,61 +111,62 @@ def _command_guide(prog):
|
|
|
48
111
|
"Documentation: https://openvax.github.io/orfdata/")
|
|
49
112
|
parser.add_argument("--version", action="store_true", help="Show the installed version")
|
|
50
113
|
commands = parser.add_subparsers()
|
|
51
|
-
for name,
|
|
52
|
-
commands.add_parser(name, help=description)
|
|
114
|
+
for name, command in COMMAND_TABLE.items():
|
|
115
|
+
commands.add_parser(name, help=command.description)
|
|
53
116
|
return parser
|
|
54
117
|
|
|
55
118
|
|
|
56
119
|
def run(argv=None, prog=None, *, catalog_loader=load_catalog):
|
|
57
|
-
"""
|
|
120
|
+
"""Run the ``orfdata`` command line: the command guide, ``--version``, or one command.
|
|
121
|
+
|
|
122
|
+
``help COMMAND`` shows that command's help. A command named in
|
|
123
|
+
:data:`COMMAND_TABLE` or :data:`COMMAND_ALIASES` runs with the arguments
|
|
124
|
+
after its name. Arguments that start with an option, such as
|
|
125
|
+
``--gene TP53``, are a ``query``, as they were before ``query`` was a
|
|
126
|
+
command.
|
|
127
|
+
|
|
128
|
+
Parameters
|
|
129
|
+
----------
|
|
130
|
+
argv : list of str, optional
|
|
131
|
+
The arguments after the program name; ``sys.argv[1:]`` by default.
|
|
132
|
+
prog : str, optional
|
|
133
|
+
The program name that help and errors show, ``orfdata`` by default.
|
|
134
|
+
catalog_loader : callable, optional
|
|
135
|
+
What ``query`` opens catalogues with, as in :func:`query`; other
|
|
136
|
+
commands don't use it.
|
|
137
|
+
|
|
138
|
+
Returns
|
|
139
|
+
-------
|
|
140
|
+
object
|
|
141
|
+
What the command's function returns; None for the guide and
|
|
142
|
+
``--version``.
|
|
143
|
+
|
|
144
|
+
Raises
|
|
145
|
+
------
|
|
146
|
+
SystemExit
|
|
147
|
+
With status 2 for an unknown command, and however the command exits.
|
|
148
|
+
"""
|
|
58
149
|
argv = list(sys.argv[1:] if argv is None else argv)
|
|
59
150
|
prog = prog or "orfdata"
|
|
60
151
|
if argv[:1] == ["help"]:
|
|
61
152
|
argv = argv[1:] + ["--help"]
|
|
62
153
|
if not argv or argv in (["--help"], ["-h"]):
|
|
63
|
-
|
|
154
|
+
command_guide(prog).print_help()
|
|
64
155
|
return
|
|
65
156
|
if argv == ["--version"]:
|
|
66
157
|
from .version import __version__
|
|
67
158
|
|
|
68
159
|
print(f"orfdata {__version__}")
|
|
69
160
|
return
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
from .proteome_cli import run as proteome_run
|
|
80
|
-
|
|
81
|
-
return proteome_run(argv[1:], prog=(prog or "orfdata") + " proteome")
|
|
82
|
-
if argv and argv[0] in ("data", "download", "downloads"):
|
|
83
|
-
from .download_cli import run as download_run
|
|
84
|
-
|
|
85
|
-
return download_run(argv[1:], prog=f"{prog or 'orfdata'} {argv[0]}")
|
|
86
|
-
if argv and argv[0] == "viral":
|
|
87
|
-
from .viral_cli import run as viral_run
|
|
88
|
-
|
|
89
|
-
return viral_run(argv[1:], prog=(prog or "orfdata") + " viral")
|
|
90
|
-
if argv and argv[0] == "setup":
|
|
91
|
-
return _setup(argv[1:], prog=(prog or "orfdata") + " setup")
|
|
92
|
-
if argv and argv[0] == "genomes":
|
|
93
|
-
from .genomes_cli import run as genomes_run
|
|
94
|
-
|
|
95
|
-
return genomes_run(argv[1:], prog=(prog or "orfdata") + " genomes")
|
|
96
|
-
if argv and argv[0] in ("lift", "chains"):
|
|
97
|
-
from . import liftover_cli
|
|
98
|
-
|
|
99
|
-
command = liftover_cli.lift if argv[0] == "lift" else liftover_cli.chains
|
|
100
|
-
return command(argv[1:], prog=f"{prog or 'orfdata'} {argv[0]}")
|
|
101
|
-
if argv[0] == "query":
|
|
102
|
-
argv = argv[1:]
|
|
103
|
-
elif not argv[0].startswith("-"):
|
|
104
|
-
_command_guide(prog).error(f"Unknown command {argv[0]!r}")
|
|
105
|
-
return query(argv, prog + " query", catalog_loader=catalog_loader)
|
|
161
|
+
name, arguments = argv[0], argv[1:]
|
|
162
|
+
if name.startswith("-"):
|
|
163
|
+
return query(argv, prog + " query", catalog_loader=catalog_loader)
|
|
164
|
+
if name == "query": # The one command that takes a catalogue loader.
|
|
165
|
+
return query(arguments, prog + " query", catalog_loader=catalog_loader)
|
|
166
|
+
command = COMMAND_TABLE.get(COMMAND_ALIASES.get(name, name))
|
|
167
|
+
if command is None or command.function is None:
|
|
168
|
+
command_guide(prog).error(f"Unknown command {name!r}") # Exits with status 2.
|
|
169
|
+
return command.load()(arguments, prog=f"{prog} {name}")
|
|
106
170
|
|
|
107
171
|
|
|
108
172
|
def query(argv=None, prog="orfdata query", *, catalog_loader=load_catalog):
|
|
@@ -127,7 +191,24 @@ def query(argv=None, prog="orfdata query", *, catalog_loader=load_catalog):
|
|
|
127
191
|
return _query(args, parser, catalog_loader)
|
|
128
192
|
|
|
129
193
|
|
|
130
|
-
def
|
|
194
|
+
def setup(argv=None, prog="orfdata setup"):
|
|
195
|
+
"""Run the ``setup`` command: install a species' catalogues, chains and default reference collections.
|
|
196
|
+
|
|
197
|
+
Parameters
|
|
198
|
+
----------
|
|
199
|
+
argv : list of str, optional
|
|
200
|
+
The command's arguments, such as ``["--species", "human"]``;
|
|
201
|
+
``sys.argv[1:]`` by default.
|
|
202
|
+
prog : str, optional
|
|
203
|
+
The program name that help and errors show.
|
|
204
|
+
|
|
205
|
+
Raises
|
|
206
|
+
------
|
|
207
|
+
SystemExit
|
|
208
|
+
With status 2 when the arguments don't parse, and 1 when the species
|
|
209
|
+
is unknown or anything failed to install; what did install is still
|
|
210
|
+
reported first.
|
|
211
|
+
"""
|
|
131
212
|
from .install import InstallError, install_species
|
|
132
213
|
|
|
133
214
|
parser = ArgumentParser(
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.48.5"
|
|
@@ -144,6 +144,7 @@ tests/test_bundle_readers.py
|
|
|
144
144
|
tests/test_cache.py
|
|
145
145
|
tests/test_catalog_registry.py
|
|
146
146
|
tests/test_cli_audit.py
|
|
147
|
+
tests/test_cli_dispatch.py
|
|
147
148
|
tests/test_cli_options.py
|
|
148
149
|
tests/test_copy.py
|
|
149
150
|
tests/test_cross_reference_pairing.py
|
|
@@ -195,6 +196,7 @@ tests/test_proteome.py
|
|
|
195
196
|
tests/test_proteome_external.py
|
|
196
197
|
tests/test_proteome_fasta_tokens.py
|
|
197
198
|
tests/test_proteome_producer_graph.py
|
|
199
|
+
tests/test_real_viral_records.py
|
|
198
200
|
tests/test_reference_context.py
|
|
199
201
|
tests/test_reference_ledger.py
|
|
200
202
|
tests/test_reference_mapping.py
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"""One table lists the top-level commands in the guide and runs them."""
|
|
2
|
+
|
|
3
|
+
import pytest
|
|
4
|
+
|
|
5
|
+
from orfdata import cli
|
|
6
|
+
from orfdata.cli import COMMAND_ALIASES, COMMAND_TABLE, COMMANDS, Command, command_guide, run
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@pytest.fixture
|
|
10
|
+
def recorded(monkeypatch):
|
|
11
|
+
"""Replace every command's function with one that records how it was called."""
|
|
12
|
+
calls = []
|
|
13
|
+
for command in COMMAND_TABLE.values():
|
|
14
|
+
if command.function is None:
|
|
15
|
+
continue
|
|
16
|
+
module, name = command.function.split(":")
|
|
17
|
+
|
|
18
|
+
def record(argv, prog, *, recorded_as=command.function):
|
|
19
|
+
calls.append((recorded_as, argv, prog))
|
|
20
|
+
|
|
21
|
+
monkeypatch.setattr(f"{module}.{name}", record)
|
|
22
|
+
return calls
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def test_every_command_but_help_loads_a_function():
|
|
26
|
+
for name, command in COMMAND_TABLE.items():
|
|
27
|
+
if name == "help":
|
|
28
|
+
assert command.function is None
|
|
29
|
+
with pytest.raises(ValueError):
|
|
30
|
+
command.load()
|
|
31
|
+
else:
|
|
32
|
+
assert callable(command.load()), name
|
|
33
|
+
assert set(COMMAND_ALIASES.values()) <= set(COMMAND_TABLE)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def test_the_guide_lists_the_table_in_order(capsys):
|
|
37
|
+
assert COMMANDS == {name: command.description for name, command in COMMAND_TABLE.items()}
|
|
38
|
+
command_guide("orfdata").print_help()
|
|
39
|
+
words = " ".join(capsys.readouterr().out.split()) # Descriptions wrap to the terminal.
|
|
40
|
+
positions = [words.index(f" {name} {command.description} ") for name, command in COMMAND_TABLE.items()]
|
|
41
|
+
assert positions == sorted(positions)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
@pytest.mark.parametrize("name", [name for name in COMMAND_TABLE if name not in ("help", "query")])
|
|
45
|
+
def test_each_command_runs_its_function_with_its_own_arguments(name, recorded):
|
|
46
|
+
run([name, "first", "--second"], prog="tool")
|
|
47
|
+
assert recorded == [(COMMAND_TABLE[name].function, ["first", "--second"], f"tool {name}")]
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
@pytest.mark.parametrize("alias", sorted(COMMAND_ALIASES))
|
|
51
|
+
def test_an_alias_runs_its_command_under_the_name_typed(alias, recorded):
|
|
52
|
+
run([alias, "list"])
|
|
53
|
+
assert recorded == [(COMMAND_TABLE[COMMAND_ALIASES[alias]].function, ["list"], f"orfdata {alias}")]
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def test_query_alone_takes_the_catalogue_loader(monkeypatch):
|
|
57
|
+
calls = []
|
|
58
|
+
monkeypatch.setattr(cli, "query", lambda argv, prog, *, catalog_loader: calls.append(
|
|
59
|
+
(argv, prog, catalog_loader)))
|
|
60
|
+
loader = object()
|
|
61
|
+
run(["query", "--gene", "TP53"], catalog_loader=loader)
|
|
62
|
+
run(["--gene", "TP53"], prog="tool", catalog_loader=loader)
|
|
63
|
+
assert calls == [(["--gene", "TP53"], "orfdata query", loader), (["--gene", "TP53"], "tool query", loader)]
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
@pytest.mark.parametrize("argv", [["nonsense"], ["help", "help"], ["help", "nonsense"]])
|
|
67
|
+
def test_an_unknown_command_is_a_usage_error(argv, recorded, capsys):
|
|
68
|
+
with pytest.raises(SystemExit) as stopped:
|
|
69
|
+
run(argv)
|
|
70
|
+
assert stopped.value.code == 2
|
|
71
|
+
assert f"Unknown command {argv[-1]!r}" in capsys.readouterr().err
|
|
72
|
+
assert recorded == []
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def test_a_command_without_a_function_says_so():
|
|
76
|
+
with pytest.raises(ValueError, match="orfdata.cli.run"):
|
|
77
|
+
Command("Answered elsewhere").load()
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"""Real GenBank and PaVE records, through the same download and binding path as a collection.
|
|
2
|
+
|
|
3
|
+
Synthetic records only hold the cases their author thought of. Each record here
|
|
4
|
+
is a real source record (three trimmed to the features that matter) that once
|
|
5
|
+
hit a defect the synthetic suite missed: what a defect looked like on real data
|
|
6
|
+
is pinned by the expectations below. The records live in ``tests/data/viral_records``.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
import gzip
|
|
10
|
+
from pathlib import Path
|
|
11
|
+
|
|
12
|
+
import pandas as pd
|
|
13
|
+
import pytest
|
|
14
|
+
from conftest import VIRAL_CONTEXT, serve_records
|
|
15
|
+
|
|
16
|
+
from orfdata import download_viral_references, viral_reference, viral_references
|
|
17
|
+
from orfdata import viral_panel as viral_panel_module
|
|
18
|
+
from orfdata.record_sources import GENBANK_SOURCE, reference_source
|
|
19
|
+
from orfdata.viral_annotation import name_transcripts, unique_source_proteins
|
|
20
|
+
|
|
21
|
+
DATA = Path(__file__).parent / "data" / "viral_records"
|
|
22
|
+
|
|
23
|
+
# abbreviation, accession: every one a record of the GDC collection.
|
|
24
|
+
PANEL = (("HBV", "X04615.1"), ("HTLV-1", "AF033817.1"), ("HPV63", "X70828.1"),
|
|
25
|
+
("EBV", "AJ507799.2"), ("HPV171", "KF006398.1"), ("HPV175", "KC108721.1"))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def _record(name):
|
|
29
|
+
return gzip.open(DATA / f"{name}.gb.gz", "rt").read()
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
@pytest.fixture(scope="module")
|
|
33
|
+
def collection(tmp_path_factory):
|
|
34
|
+
"""Download the real records as a collection and return the cache root."""
|
|
35
|
+
patch = pytest.MonkeyPatch()
|
|
36
|
+
inventory = pd.DataFrame([
|
|
37
|
+
{"index": index, "name": abbreviation, "abbreviation": abbreviation,
|
|
38
|
+
"refseq": "", "genbank": accession, "pave_id": "", "pave_notes": "",
|
|
39
|
+
"bundled_reference_id": "", "coding_models": pd.NA, "status": "not_bundled",
|
|
40
|
+
"available": False, "contexts": (VIRAL_CONTEXT,)}
|
|
41
|
+
for index, (abbreviation, accession) in enumerate(PANEL, 1)])
|
|
42
|
+
inventory["coding_models"] = inventory["coding_models"].astype("Int64")
|
|
43
|
+
patch.setattr(viral_panel_module, "viral_panel_coverage", lambda **options: inventory)
|
|
44
|
+
serve_records(patch, {accession: _record(accession) for _, accession in PANEL})
|
|
45
|
+
ledger = reference_source(GENBANK_SOURCE).build_ledger(inventory, timeout=1)
|
|
46
|
+
patch.setattr(viral_panel_module, "_primary_ledger",
|
|
47
|
+
lambda collection, rows: ledger.loc[rows["abbreviation"]])
|
|
48
|
+
root = tmp_path_factory.mktemp("real-records")
|
|
49
|
+
download_viral_references(species="human", cache_root=str(root))
|
|
50
|
+
patch.undo()
|
|
51
|
+
return str(root)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def _offered(collection, accession):
|
|
55
|
+
reference = viral_reference(accession, cache_root=collection)
|
|
56
|
+
return reference, list(reference.orfs)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def test_every_real_record_becomes_an_installed_reference(collection):
|
|
60
|
+
found = {item.id for item in viral_references(cache_root=collection)}
|
|
61
|
+
assert {accession for _, accession in PANEL} <= found
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def test_the_group_is_the_genus_not_the_last_lineage_name(collection):
|
|
65
|
+
groups = {accession: viral_reference(accession, cache_root=collection).group
|
|
66
|
+
for _, accession in PANEL}
|
|
67
|
+
assert groups == {"X04615.1": "Orthohepadnavirus", "AF033817.1": "Deltaretrovirus",
|
|
68
|
+
"X70828.1": "Mupapillomavirus", "AJ507799.2": "Lymphocryptovirus",
|
|
69
|
+
"KF006398.1": "Gammapapillomavirus", "KC108721.1": "Gammapapillomavirus"}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
def test_the_isolation_host_is_taken_from_the_record_when_it_names_one(collection):
|
|
73
|
+
hosts = {accession: viral_reference(accession, cache_root=collection).host_taxon_ids
|
|
74
|
+
for _, accession in PANEL}
|
|
75
|
+
assert hosts["KF006398.1"] == hosts["KC108721.1"] == (9606,)
|
|
76
|
+
assert hosts["X04615.1"] == hosts["AF033817.1"] == hosts["X70828.1"] == ()
|
|
77
|
+
named = viral_reference("KF006398.1", cache_root=collection)
|
|
78
|
+
assert "X04615.1" not in {item.id for item in viral_references(
|
|
79
|
+
host="human", cache_root=collection)}
|
|
80
|
+
assert "KF006398.1" in named.host_source
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def test_hbv_polymerase_wraps_the_circular_origin_and_is_offered(collection):
|
|
84
|
+
reference, offered = _offered(collection, "X04615.1")
|
|
85
|
+
assert reference.coding_models == 4 and "not offered" not in reference.scope
|
|
86
|
+
wrapped = [orf for orf in offered
|
|
87
|
+
if any(a <= 10 for a, _ in orf.coding_blocks)
|
|
88
|
+
and any(b >= reference.length - 10 for _, b in orf.coding_blocks)]
|
|
89
|
+
assert len(wrapped) == 1
|
|
90
|
+
(orf,) = wrapped
|
|
91
|
+
assert len(orf.coding_sequence) % 3 == 0
|
|
92
|
+
assert sum(b - a + 1 for a, b in orf.coding_blocks) == len(orf.coding_sequence)
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
def test_htlv1_slippage_cds_that_read_a_base_twice_are_left_out(collection):
|
|
96
|
+
reference, offered = _offered(collection, "AF033817.1")
|
|
97
|
+
assert reference.coding_models == 4
|
|
98
|
+
assert "2 of 6 source CDS not offered as ORFs" in reference.scope
|
|
99
|
+
for orf in offered: # What is offered accounts for every base once.
|
|
100
|
+
assert sum(b - a + 1 for a, b in orf.coding_blocks) == len(orf.coding_sequence)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
def test_hpv63_cds_whose_start_does_not_match_its_source_protein_is_left_out(collection):
|
|
104
|
+
reference, _ = _offered(collection, "X70828.1")
|
|
105
|
+
assert reference.coding_models == 6
|
|
106
|
+
assert "1 of 7 source CDS not offered as ORFs" in reference.scope
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
@pytest.mark.parametrize("accession", ["KF006398.1", "KC108721.1"])
|
|
110
|
+
def test_a_cds_with_an_ambiguous_base_is_left_out_not_guessed(collection, accession):
|
|
111
|
+
reference, offered = _offered(collection, accession)
|
|
112
|
+
assert reference.coding_models == 6
|
|
113
|
+
assert "1 of 7 source CDS not offered as ORFs" in reference.scope
|
|
114
|
+
assert all(set(orf.coding_sequence) <= set("ACGT") for orf in offered)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
def test_ebv_lmp2_spliced_back_across_the_terminal_repeat_is_left_out(collection):
|
|
118
|
+
"""The trimmed record keeps LMP2's two CDSs: one inside the repeat, one spliced across it."""
|
|
119
|
+
reference, offered = _offered(collection, "AJ507799.2")
|
|
120
|
+
assert reference.coding_models == len(offered) == 1
|
|
121
|
+
assert "1 of 2 source CDS not offered as ORFs" in reference.scope
|
|
122
|
+
# The CDS that begins at 166103 and continues from base 58 is the one left out.
|
|
123
|
+
assert all(a < 100000 for orf in offered for a, _ in orf.coding_blocks)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
def test_hpv16_e6_and_e6_star_stay_distinct_through_their_sanitized_names():
|
|
127
|
+
"""The PaVE HPV16 record names E6 and E6*, which sanitize to the same token."""
|
|
128
|
+
from orfdata.record_sources import PAVE_SOURCE
|
|
129
|
+
|
|
130
|
+
pave = (DATA / "HPV16REF.json.gz").read_bytes()
|
|
131
|
+
patch = pytest.MonkeyPatch()
|
|
132
|
+
try:
|
|
133
|
+
serve_records(patch, alternate={"HPV16REF": gzip.decompress(pave)})
|
|
134
|
+
genome = reference_source(PAVE_SOURCE).record("HPV16REF", timeout=1)
|
|
135
|
+
finally:
|
|
136
|
+
patch.undo()
|
|
137
|
+
features = genome.coding_features
|
|
138
|
+
proteins = [feature["source_protein_id"] for feature in features]
|
|
139
|
+
assert any(name.endswith("E6*") for name in proteins) and "HPV16-E6" in proteins
|
|
140
|
+
named = name_transcripts("HPV16", features, unique_protein_ids=unique_source_proteins(features))
|
|
141
|
+
ids = [row["protein_id"] for row in named]
|
|
142
|
+
assert len(set(ids)) == len(ids)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.48.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|