orfdata 0.46.2__tar.gz → 0.47.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {orfdata-0.46.2/orfdata.egg-info → orfdata-0.47.0}/PKG-INFO +1 -1
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/downstream.md +9 -2
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/genbank.py +11 -2
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/record_sources.py +4 -0
- orfdata-0.47.0/orfdata/version.py +1 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/viral.py +6 -5
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/viral_annotation.py +42 -3
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/viral_installed.py +3 -1
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/viral_panel.py +21 -13
- {orfdata-0.46.2 → orfdata-0.47.0/orfdata.egg-info}/PKG-INFO +1 -1
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata.egg-info/SOURCES.txt +1 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/conftest.py +15 -7
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_shared_protein_ids.py +15 -0
- orfdata-0.47.0/tests/test_viral_host_group.py +57 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_viral_installed.py +4 -3
- orfdata-0.46.2/orfdata/version.py +0 -1
- {orfdata-0.46.2 → orfdata-0.47.0}/LICENSE +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/MANIFEST.in +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/deploy.sh +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/catalogs.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/cli-design.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/cli.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/copy-yeast.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/coverage.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/dog-data-sources.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/dog-peptides.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/downloads.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/examples.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/human-tissue.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/index.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/ingolia-yeast.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/mammary-stroma.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/measurements.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/pairing.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/pfizer-peptides.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/pfizer-protein.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/pfizer-rna.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/proteome.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/reference.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/search-references.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/source-references.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/species.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/storage.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/stylesheets/docs.css +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs/viral.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/docs.sh +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/lint.sh +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/mkdocs.yml +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/__init__.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/_pinned_genome.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/_structure.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/artifact_archives.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/build.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/catalog.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/catalog_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/catalog_manifest.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/catalogs.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/cli_output.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/cli_parser.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/catalogs.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/chains.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/datasets.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/genomes.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/ires/rfam-15.1-human-ires.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/orf-evidence/AUTHOR-LICENSE.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/orf-evidence/NOTICE.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/orf-evidence/catalog.json.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/orf-evidence/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/uorf-evidence/AUTHOR-LICENSE.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/uorf-evidence/NOTICE.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/uorf-evidence/catalog.json.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/uorf-evidence/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/viral/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/viral/gdc-grch38-d1-vd1-coverage.tsv +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/viral/gdc-grch38-d1-vd1-genbank.tsv +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/viral/gdc-grch38-d1-vd1-pave.tsv +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/viral/hpv16-refseq-CDS.json.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data/viral/subsets.yaml +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/data_resources.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/dataset_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/datasets.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/download_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/downloads.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/ensembl.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/errors.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/evidence.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/evidence_summary.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/fasta.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/genomes.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/genomes_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/gtf.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/initiation_context.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/install.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/liftover.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/liftover_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/measurements.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/model.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/net.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/numeric_vector.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/pairing.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/proteome.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/proteome_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/reference.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/reference_ledger.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/reference_mapping.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/reference_table.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/refseq.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/rna.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/search_reference.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sequence.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/__init__.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/copy.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/ingolia.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/kaabinejadian.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/mammary_stroma.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/ncorf_mammals.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/openprot.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/peptideatlas.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/pfizer.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/pfizer_attribution.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/pfizer_dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/pfizer_definitions.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/pfizer_evidence.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/pfizer_lineage.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/pfizer_native.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/pfizer_queries.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/pfizer_rna.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/pfizer_vendor.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/riborf.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/riborf_native.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/sources/wang.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/viral_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/viral_coverage.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/viral_registry.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata/viral_subsets.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata.egg-info/dependency_links.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata.egg-info/entry_points.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata.egg-info/requires.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/orfdata.egg-info/top_level.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/pyproject.toml +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/setup.cfg +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/test.sh +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/aggregate_evidence.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/GSM1905474.soft +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/GSM1905474_KL9_fpkm.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/GSM1905476.soft +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/GSM1905476_KL10_fpkm.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/GSM1905478.soft +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/GSM1905478_KL11_fpkm.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/GSM1905479.soft +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/GSM1905479_KL12_fpkm.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/geo-series.soft +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/methods.pdf +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/paper.xml +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/pmc-metadata.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/qconcat.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/copy/workbook.xlsx +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ensembl/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ensembl/gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ensembl/internal-stop/gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ensembl/internal-stop/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ensembl/internal-stop/ncrna.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ensembl/internal-stop/protein.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ensembl/internal-stop/rna.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ensembl/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ensembl/ncrna.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ensembl/protein.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ensembl/rna.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346111.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346111.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346114.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346114.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346115.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346115.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346116.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346116.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346117.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346117.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346118.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346118.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346120.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346120.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346122.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/GSM346122.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ingolia/readMe.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/kaabinejadian/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/kaabinejadian/Results.zip +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/kaabinejadian/manifest-v1.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/kaabinejadian/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/kaabinejadian/sdrf.tsv +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/mammary_stroma/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/mammary_stroma/geo.soft.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/mammary_stroma/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/mammary_stroma/paper.xml +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/mammary_stroma/peptides.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/mammary_stroma/project.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/mammary_stroma/proteinGroups.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/mammary_stroma/rna.csv.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ncorf_mammals/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ncorf_mammals/S3.xlsx +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ncorf_mammals/ensembl107.cdna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ncorf_mammals/ensembl107.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ncorf_mammals/human-ensembl107.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ncorf_mammals/human.bed +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ncorf_mammals/human.pep.fa +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ncorf_mammals/mouse.bed +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/ncorf_mammals/mouse.pep.fa +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/openprot/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/openprot/ensembl106.cdna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/openprot/ensembl106.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.bed.zip +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.fasta.zip +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.tsv.zip +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/peptideatlas/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/peptideatlas/atlas_build.tsv.zip +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/peptideatlas/ensembl.pep.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/peptideatlas/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/dog/expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/dog/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/dog/protein.tsv +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/dog/search.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/human/expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/human/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/human/protein.tsv +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/human/search.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/mouse/expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/mouse/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/mouse/protein.tsv +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/mouse/search.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/acquisition-missingness.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/definitions.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/dog-panel.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/membership-search-slice.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/memberships.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/native.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/parent-status-search-slice.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/parent-status.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/psm-parent-sets-search-slice.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/psm-parent-sets.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/search-slice.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/search-slice.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/study-slice.xml +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer/vendor/summary-samples.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer_rna/GSE325522_family.soft.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer_rna/GSE325523_family.soft.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer_rna/GSE325525_family.soft.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer_rna/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer_rna/counts.csv.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer_rna/dog-annotation.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer_rna/dog-expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer_rna/dog-manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer_rna/mouse-annotation.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer_rna/mouse-expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer_rna/mouse-manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/pfizer_rna/samples.xlsx +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/references/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/references/canis_lupus_familiaris.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/references/context-keys-v0.4.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/references/ensembl115.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/references/homo_sapiens.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/references/mitochondrial.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/references/mus_musculus.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/references/saccharomyces_cerevisiae.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/references/transcript_orf_v1_0.42.0.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/references/uniprot_literature.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/regions/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/regions/ingolia.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/SD3.xlsx +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/ensembl107.cdna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/ensembl107.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/ensembl107.ncrna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/gencodeM25.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/gencodeM25.rna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/human-ensembl105.cdna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/human-ensembl105.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/human-ensembl105.ncrna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/v3-manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/worm-ensembl105.cdna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/worm-ensembl105.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/worm-ensembl105.ncrna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/yeast-ensembl115.cdna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/yeast-ensembl115.dna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/yeast-ensembl115.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/zebrafish-ensembl115.cdna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/zebrafish-ensembl115.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/riborf/zebrafish-ensembl115.ncrna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/search_reference/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/search_reference/dog.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/search_reference/ensembl83-expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/search_reference/ensembl83-human.fasta.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/search_reference/expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/storage/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/storage/generate.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/storage/v1.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/storage/v1.sqlite +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/storage/v2.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/storage/v2.sqlite +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/storage/v3.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/storage/v3.sqlite +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/storage/v4.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/storage/v4.sqlite +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/viral/GRCh83.d1.vd1_virus_decoy.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/viral/NC_001526.4.gb.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/viral/genbank/HBV__X04615.1.gb.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/viral/genbank/HPV16__K02718.1.gb.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/viral/genbank/HPV35__X74477.1.gb.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/viral/genbank/HPV51__M62877.1.gb.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/viral/genbank/HPV56__X74483.1.gb.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/wang/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/wang/annotation.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/wang/copies.zip +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/wang/expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/wang/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/wang/protein.zip +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/wang/rna.zip +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/data/wang/search.fasta.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_artifact_archives.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_bundle_readers.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_catalog_registry.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_cli_audit.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_cli_options.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_copy.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_cross_reference_pairing.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_data_resources.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_dog_export_read_ahead.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_dog_ncorf_search.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_dog_peptides.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_downloads.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_ensembl.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_ensembl_search_reference.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_evidence_rules.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_evidence_summary.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_exit_statuses.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_export_sqlite_rows.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_extraction_budget.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_ftps_sqlite.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_genbank.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_genbank_equivalence.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_genetic_codes.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_genomes.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_ingolia.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_initiation_context.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_liftover.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_local_build_queries.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_mammary_stroma.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_measurements.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_merge_catalogs.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_more_species.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_ncorf_mammals.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_numeric_vector.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_openprot.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_orf_cases.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_orf_gtf.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_package_dog_dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_package_sqlite_archive.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_paired_selectors.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_pairing.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_pfizer.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_pfizer_attribution.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_pfizer_dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_pfizer_definitions.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_pfizer_evidence.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_pfizer_lineage.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_pfizer_native.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_pfizer_rna.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_pfizer_vendor.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_protein_set.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_proteome.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_proteome_external.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_proteome_fasta_tokens.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_proteome_producer_graph.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_reference_context.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_reference_ledger.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_reference_mapping.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_reference_orf.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_reference_table.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_refseq.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_region_targets.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_resume.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_riborf.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_search_reference.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_selectors.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_storage.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_transcript_orf_serialization.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_uorf_catalog.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_verify_dog_dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_viral.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_viral_bundle.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_viral_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_viral_collections.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_viral_completeness.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_viral_coverage.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_viral_initiation.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_viral_origin_join.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_viral_sources.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_viral_subsets.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tests/test_wang.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/README-dog-results.md +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/__init__.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/build_dog_dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/build_gdc_viral_coverage.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/build_hpv16_cds.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/build_reference_ledger.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/dog_result_plan.json +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/export_dog_lineage.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/export_dog_results.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/export_sqlite_rows.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/extraction_budget.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/ftps_sqlite.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/inspect_dog_results.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/normalize_dog_evidence.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/package_dog_dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/package_sqlite_archive.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/verify_dog_dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/verify_mammary_stroma.py +0 -0
- {orfdata-0.46.2 → orfdata-0.47.0}/tools/verify_riborf_native.py +0 -0
|
@@ -60,8 +60,15 @@ HPV16 catalogue, so a collection installed with `orfdata data fetch` supplies
|
|
|
60
60
|
Isovar's viral models for every contig it holds. Only CDSs that translate
|
|
61
61
|
exactly to their source protein are offered; `viral_references()` says in each
|
|
62
62
|
reference's `scope` how many were left out, and they remain in the
|
|
63
|
-
transcriptome layer.
|
|
64
|
-
|
|
63
|
+
transcriptome layer.
|
|
64
|
+
|
|
65
|
+
An installed reference carries what its own GenBank record says: its `group` is
|
|
66
|
+
the genus in the record's lineage, and `host_taxon_ids` and `host_source` name
|
|
67
|
+
the host the sequence was isolated from, with the accession as the source.
|
|
68
|
+
That is an isolation host, not a host range, and it is empty when the record
|
|
69
|
+
names none, so `viral_references(host="human")` returns the references whose
|
|
70
|
+
record says human and not every virus a human can carry. `ictv_species` stays
|
|
71
|
+
empty until curated (#104).
|
|
65
72
|
|
|
66
73
|
### Declaring the genome for vaxrank
|
|
67
74
|
|
|
@@ -74,6 +74,7 @@ class Record:
|
|
|
74
74
|
features: tuple
|
|
75
75
|
name: str = ""
|
|
76
76
|
definition: str = ""
|
|
77
|
+
lineage: tuple = ()
|
|
77
78
|
|
|
78
79
|
|
|
79
80
|
def positions(location):
|
|
@@ -197,7 +198,7 @@ def parse(text):
|
|
|
197
198
|
"""
|
|
198
199
|
lines = text.splitlines()
|
|
199
200
|
accession_version, circular, name, declared = None, False, "", None
|
|
200
|
-
feature_lines, sequence, definition, section = [], [], [], None
|
|
201
|
+
feature_lines, sequence, definition, organism, section = [], [], [], [], None
|
|
201
202
|
for line in lines:
|
|
202
203
|
if line.startswith("LOCUS"):
|
|
203
204
|
circular = " circular " in f" {' '.join(line.split()[1:])} "
|
|
@@ -210,6 +211,9 @@ def parse(text):
|
|
|
210
211
|
section = "definition"
|
|
211
212
|
definition.append(line[len("DEFINITION"):].strip())
|
|
212
213
|
continue
|
|
214
|
+
elif line.startswith(" ORGANISM"):
|
|
215
|
+
section = "organism"
|
|
216
|
+
continue
|
|
213
217
|
elif line.startswith("FEATURES"):
|
|
214
218
|
section = "features"
|
|
215
219
|
continue
|
|
@@ -224,6 +228,8 @@ def parse(text):
|
|
|
224
228
|
feature_lines.append(line)
|
|
225
229
|
elif section == "definition":
|
|
226
230
|
definition.append(line.strip())
|
|
231
|
+
elif section == "organism":
|
|
232
|
+
organism.append(line.strip())
|
|
227
233
|
elif section == "sequence":
|
|
228
234
|
match = _SEQUENCE_LINE.match(line)
|
|
229
235
|
if match is None:
|
|
@@ -251,4 +257,7 @@ def parse(text):
|
|
|
251
257
|
features=features, name=name,
|
|
252
258
|
# NCBI writes a record's one-line description as a sentence; its
|
|
253
259
|
# own titles elsewhere drop the full stop, and so does this.
|
|
254
|
-
definition=" ".join(definition).strip().rstrip(".")
|
|
260
|
+
definition=" ".join(definition).strip().rstrip("."),
|
|
261
|
+
# ORGANISM's continuation lines: "Viruses; ...; Genus."
|
|
262
|
+
lineage=tuple(part.strip() for part in " ".join(organism).rstrip(".").split(";")
|
|
263
|
+
if part.strip()))
|
|
@@ -63,6 +63,8 @@ class FetchedGenome:
|
|
|
63
63
|
circular: bool = False
|
|
64
64
|
title: str = ""
|
|
65
65
|
taxon_id: int = 0
|
|
66
|
+
host: str = ""
|
|
67
|
+
group: str = ""
|
|
66
68
|
|
|
67
69
|
@property
|
|
68
70
|
def length(self):
|
|
@@ -195,6 +197,8 @@ class GenBankSource(ReferenceSource):
|
|
|
195
197
|
circular=record.circular,
|
|
196
198
|
title=record.definition,
|
|
197
199
|
taxon_id=record.taxon_id,
|
|
200
|
+
host=record.host,
|
|
201
|
+
group=record.group,
|
|
198
202
|
) for record in parsed)
|
|
199
203
|
|
|
200
204
|
def record(self, identifier, *, timeout):
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.47.0"
|
|
@@ -160,11 +160,12 @@ def viral_references(*, host=None, group=None, virus_type=None, installed=True,
|
|
|
160
160
|
Named virus type, such as ``"HPV16"``; distinct from ICTV species.
|
|
161
161
|
installed : bool, default True
|
|
162
162
|
Also list the references of collections installed under ``cache_root``.
|
|
163
|
-
This reads local files only. An installed reference has a ``bundle
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
163
|
+
This reads local files only. An installed reference has a ``bundle``.
|
|
164
|
+
Its ``group`` is the genus in its GenBank record's lineage (a bundled
|
|
165
|
+
reference's is a curated label such as ``"HPV"``),
|
|
166
|
+
and its host is the isolation host that record names, with the record
|
|
167
|
+
as ``host_source``; ``ictv_species`` is empty until curated (#104).
|
|
168
|
+
Pass ``False`` for the bundled catalogue alone.
|
|
168
169
|
cache_root : path, optional
|
|
169
170
|
Where collections are installed; the default ORFdata cache otherwise.
|
|
170
171
|
|
|
@@ -12,6 +12,7 @@ CDS stays in transcript order and a truncated one says so.
|
|
|
12
12
|
"""
|
|
13
13
|
|
|
14
14
|
import re
|
|
15
|
+
from collections import Counter
|
|
15
16
|
from itertools import product
|
|
16
17
|
|
|
17
18
|
from . import genbank
|
|
@@ -35,10 +36,10 @@ class GenBankRecord:
|
|
|
35
36
|
"""One parsed GenBank record: its sequence, its CDS features and its own text."""
|
|
36
37
|
|
|
37
38
|
__slots__ = ("accession_version", "sequence", "source_text", "circular", "coding_features",
|
|
38
|
-
"definition", "taxon_id")
|
|
39
|
+
"definition", "taxon_id", "host", "group")
|
|
39
40
|
|
|
40
41
|
def __init__(self, *, accession_version, sequence, source_text, coding_features,
|
|
41
|
-
circular=False, definition="", taxon_id=0):
|
|
42
|
+
circular=False, definition="", taxon_id=0, host="", group=""):
|
|
42
43
|
self.accession_version = accession_version
|
|
43
44
|
self.sequence = sequence
|
|
44
45
|
self.source_text = source_text
|
|
@@ -46,6 +47,8 @@ class GenBankRecord:
|
|
|
46
47
|
self.coding_features = tuple(coding_features)
|
|
47
48
|
self.definition = definition
|
|
48
49
|
self.taxon_id = taxon_id
|
|
50
|
+
self.host = host
|
|
51
|
+
self.group = group
|
|
49
52
|
|
|
50
53
|
|
|
51
54
|
def safe_token(value):
|
|
@@ -391,6 +394,28 @@ def source_taxon(record):
|
|
|
391
394
|
return 0
|
|
392
395
|
|
|
393
396
|
|
|
397
|
+
def genus(lineage):
|
|
398
|
+
"""The genus in an NCBI lineage: its last name ending in ``virus``, as ICTV genus names do.
|
|
399
|
+
|
|
400
|
+
A lineage often ends in a species or species group (``Alphapapillomavirus 9``),
|
|
401
|
+
so the last name is not the genus. Empty when the lineage names no genus.
|
|
402
|
+
"""
|
|
403
|
+
return next((name for name in reversed(lineage) if name.endswith("virus")), "")
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
def source_host(record):
|
|
407
|
+
"""The host the record's own ``source`` feature says the sequence was isolated from, if any.
|
|
408
|
+
|
|
409
|
+
GenBank allows notes after a semicolon (``Homo sapiens; child``); they are kept here.
|
|
410
|
+
"""
|
|
411
|
+
for feature in record.features:
|
|
412
|
+
if feature.kind == "source":
|
|
413
|
+
for name, value in feature.qualifiers:
|
|
414
|
+
if name == "host":
|
|
415
|
+
return " ".join(str(value).split())
|
|
416
|
+
return ""
|
|
417
|
+
|
|
418
|
+
|
|
394
419
|
def parse_genbank(payload):
|
|
395
420
|
"""Parse one EFetch response into records that keep their own source text."""
|
|
396
421
|
records = []
|
|
@@ -407,17 +432,31 @@ def parse_genbank(payload):
|
|
|
407
432
|
coding_features=features,
|
|
408
433
|
definition=parsed.definition,
|
|
409
434
|
taxon_id=source_taxon(parsed),
|
|
435
|
+
host=source_host(parsed),
|
|
436
|
+
group=genus(parsed.lineage),
|
|
410
437
|
))
|
|
411
438
|
return tuple(records)
|
|
412
439
|
|
|
413
440
|
|
|
441
|
+
def unique_source_proteins(features):
|
|
442
|
+
"""The source protein accessions that name exactly one protein, as written to the files.
|
|
443
|
+
|
|
444
|
+
Counted after :func:`safe_token`, since two accessions can sanitize to one
|
|
445
|
+
token (``E6*`` and ``E6``) and would then name two proteins by one ID.
|
|
446
|
+
"""
|
|
447
|
+
uses = Counter(safe_token(feature["source_protein_id"])
|
|
448
|
+
for feature in features if feature["source_protein_id"])
|
|
449
|
+
return {value for value, count in uses.items() if count == 1}
|
|
450
|
+
|
|
451
|
+
|
|
414
452
|
def name_transcripts(genome_id, features, *, unique_protein_ids):
|
|
415
453
|
"""Name each CDS feature's transcript, gene and protein once, deterministically."""
|
|
416
454
|
rows = []
|
|
417
455
|
for feature in features:
|
|
418
456
|
transcript_id = f"{genome_id}_cds{feature['ordinal']}"
|
|
419
457
|
source_protein_id = feature["source_protein_id"]
|
|
420
|
-
protein_id = (source_protein_id
|
|
458
|
+
protein_id = (source_protein_id
|
|
459
|
+
if source_protein_id and safe_token(source_protein_id) in unique_protein_ids
|
|
421
460
|
else f"{transcript_id}.p")
|
|
422
461
|
gene = feature.get("gene_label") or f"cds{feature['ordinal']}"
|
|
423
462
|
# Two CDSs sharing a gene label on opposite strands are two genes, not one.
|
|
@@ -155,7 +155,9 @@ def _references_of(files, collection_name):
|
|
|
155
155
|
references.append(ViralReference(
|
|
156
156
|
id=row.genome_id, species=_species(row.name), taxon_id=int(row.viral_taxon_id),
|
|
157
157
|
host_taxon_ids=tuple(int(value) for value in row.source_host_taxon_ids.split(",") if value),
|
|
158
|
-
host_source="
|
|
158
|
+
host_source=(f"{row.accession_version} isolation host: {row.source_host}"
|
|
159
|
+
if row.source_host else ""),
|
|
160
|
+
group=row.group, virus_type=row.abbreviation, ictv_species="",
|
|
159
161
|
taxonomy_source=f"{collection_name} inventory", length=len(sequence),
|
|
160
162
|
sequence_md5=hashlib.md5(sequence.encode("ascii"), usedforsecurity=False).hexdigest(),
|
|
161
163
|
sequence_sha256=row.genome_sha256, native_to_reference_rotation=0,
|
|
@@ -36,7 +36,7 @@ from .errors import NotInstalledError
|
|
|
36
36
|
from .fasta import write_fasta
|
|
37
37
|
from .net import DOWNLOAD_TIMEOUT
|
|
38
38
|
from .record_sources import REQUEST_INTERVAL
|
|
39
|
-
from .reference import canonical_species
|
|
39
|
+
from .reference import canonical_species, species_taxon
|
|
40
40
|
from .reference_ledger import empty_ledger, ledger_row, published, same_molecule, verify_record
|
|
41
41
|
from .viral_annotation import (
|
|
42
42
|
NON_CANONICAL_START,
|
|
@@ -44,13 +44,14 @@ from .viral_annotation import (
|
|
|
44
44
|
gtf_transcript_lines,
|
|
45
45
|
name_transcripts,
|
|
46
46
|
safe_token,
|
|
47
|
+
unique_source_proteins,
|
|
47
48
|
)
|
|
48
49
|
from .viral_coverage import normalize_viral_contexts, viral_panel_coverage
|
|
49
50
|
from .viral_registry import ViralCollection, viral_collection
|
|
50
51
|
from .viral_subsets import normalize_viral_subsets, viral_subset_abbreviations
|
|
51
52
|
|
|
52
|
-
BUNDLE_SCHEMA_VERSION = "
|
|
53
|
-
BUNDLE_SCHEMA = "orfdata.viral_reference_bundle.
|
|
53
|
+
BUNDLE_SCHEMA_VERSION = "7"
|
|
54
|
+
BUNDLE_SCHEMA = "orfdata.viral_reference_bundle.v7"
|
|
54
55
|
INDEX_SCHEMA = "orfdata.viral_reference_index.v7"
|
|
55
56
|
VIRAL_LAYERS = ("genome", "transcriptome", "proteome")
|
|
56
57
|
|
|
@@ -73,7 +74,8 @@ _RECORD_DIRECTORY = "records"
|
|
|
73
74
|
|
|
74
75
|
_GENOME_COLUMNS = (
|
|
75
76
|
"index", "abbreviation", "name", "genome_id", "accession_version", "source_genbank",
|
|
76
|
-
"source_refseq", "viral_taxon_id", "
|
|
77
|
+
"source_refseq", "viral_taxon_id", "group", "source_host", "source_host_taxon_ids",
|
|
78
|
+
"length_nt", "genome_sha256",
|
|
77
79
|
"transcript_count", "genome_source", "annotation_source", "alternate_source",
|
|
78
80
|
"alternate_id", "alternate_sequence", "inventory_notes",
|
|
79
81
|
)
|
|
@@ -359,7 +361,7 @@ def _verified_existing_bundle(path, *, species, collection):
|
|
|
359
361
|
return result
|
|
360
362
|
|
|
361
363
|
|
|
362
|
-
def _genome_row(entry, primary, molecule, transcripts, alternate):
|
|
364
|
+
def _genome_row(entry, primary, molecule, transcripts, alternate, record):
|
|
363
365
|
"""One row of the genome layer's table, as the inventory and the record describe it."""
|
|
364
366
|
sources = {transcript["annotation_source"] for transcript in transcripts}
|
|
365
367
|
return {
|
|
@@ -371,8 +373,11 @@ def _genome_row(entry, primary, molecule, transcripts, alternate):
|
|
|
371
373
|
"source_genbank": entry.genbank,
|
|
372
374
|
"source_refseq": entry.refseq,
|
|
373
375
|
"viral_taxon_id": primary["taxon_id"],
|
|
374
|
-
#
|
|
375
|
-
|
|
376
|
+
# What the primary GenBank record says: its genus and the host it was isolated from. The target species is an analysis
|
|
377
|
+
# choice and says nothing about either.
|
|
378
|
+
"group": record.group,
|
|
379
|
+
"source_host": record.host,
|
|
380
|
+
"source_host_taxon_ids": str(species_taxon(record.host.split(";")[0]) or ""),
|
|
376
381
|
"length_nt": len(molecule.sequence),
|
|
377
382
|
"genome_sha256": hashlib.sha256(molecule.sequence.encode("ascii")).hexdigest(),
|
|
378
383
|
"transcript_count": len(transcripts),
|
|
@@ -563,9 +568,8 @@ def _write_bundle(path, collection, inventory, primaries, *, timeout,
|
|
|
563
568
|
molecules[entry.index] = molecule
|
|
564
569
|
|
|
565
570
|
# A source protein accession names the protein only when it names one protein.
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
unique_protein_ids = {value for value, uses in protein_uses.items() if uses == 1}
|
|
571
|
+
unique_protein_ids = unique_source_proteins(
|
|
572
|
+
feature for molecule in molecules.values() for feature in molecule.features)
|
|
569
573
|
|
|
570
574
|
genome_rows, transcript_rows, gtf_lines, complete = [], [], [], 0
|
|
571
575
|
with (path / _GENOME_FASTA).open("w") as genome_stream, \
|
|
@@ -597,7 +601,8 @@ def _write_bundle(path, collection, inventory, primaries, *, timeout,
|
|
|
597
601
|
for transcript in members:
|
|
598
602
|
gtf_lines.extend(gtf_transcript_lines(transcript))
|
|
599
603
|
genome_rows.append(_genome_row(entry, primary, molecule, placed,
|
|
600
|
-
ledger_row(ledger, entry.abbreviation)
|
|
604
|
+
ledger_row(ledger, entry.abbreviation),
|
|
605
|
+
downloaded[primary["identifier"]]))
|
|
601
606
|
|
|
602
607
|
_write_table(path / _GENOME_TABLE, _GENOME_COLUMNS, genome_rows)
|
|
603
608
|
_write_table(path / _TRANSCRIPT_TABLE, _TRANSCRIPT_COLUMNS, transcript_rows)
|
|
@@ -662,8 +667,11 @@ def _bundle_readme(collection, genome_rows, transcript_rows, complete, retrieved
|
|
|
662
667
|
+ "The GTF, transcript FASTA and protein FASTA share identifiers, so this set opens as a "
|
|
663
668
|
"PyEnsembl genome for varcode, isovar, topiary and vaxrank.\n\n"
|
|
664
669
|
f"The `{collection.name}` collection is for {collection.target_species} analysis. That "
|
|
665
|
-
"target does not assert a source host
|
|
666
|
-
"
|
|
670
|
+
"target does not assert a source host. `source_host` is the host each primary GenBank "
|
|
671
|
+
"record names for its sequence, an isolation host and not a host range, and "
|
|
672
|
+
"`source_host_taxon_ids` its NCBI taxon where ORFdata knows the species; both are empty "
|
|
673
|
+
"when the record says nothing. `group` is the genus in the record's taxonomic "
|
|
674
|
+
"lineage.\n\n"
|
|
667
675
|
"This is a source-record download, not an ORFdata curated viral-reference release. "
|
|
668
676
|
"It does not alter `viral_references()` or `Proteome.build(..., viral=...)`.\n"
|
|
669
677
|
)
|
|
@@ -214,6 +214,7 @@ tests/test_viral_cli.py
|
|
|
214
214
|
tests/test_viral_collections.py
|
|
215
215
|
tests/test_viral_completeness.py
|
|
216
216
|
tests/test_viral_coverage.py
|
|
217
|
+
tests/test_viral_host_group.py
|
|
217
218
|
tests/test_viral_initiation.py
|
|
218
219
|
tests/test_viral_installed.py
|
|
219
220
|
tests/test_viral_origin_join.py
|
|
@@ -61,15 +61,21 @@ class Unquoted(str):
|
|
|
61
61
|
"""A qualifier value GenBank writes without quotes, such as transl_except."""
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
def _genbank(accession, sequence, features, *, name, description="test genome", taxon=10000
|
|
64
|
+
def _genbank(accession, sequence, features, *, name, description="test genome", taxon=10000,
|
|
65
|
+
host=None, lineage=None):
|
|
65
66
|
"""One GenBank flat file, laid out as NCBI EFetch returns it."""
|
|
66
67
|
lines = [f"LOCUS {name:<16}{len(sequence):>10} bp DNA linear VRL 01-JAN-2020",
|
|
67
68
|
f"DEFINITION {description}.",
|
|
68
69
|
f"ACCESSION {accession.split('.')[0]}",
|
|
69
|
-
f"VERSION {accession}"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
f"VERSION {accession}"]
|
|
71
|
+
if lineage:
|
|
72
|
+
lines += ["SOURCE Test virus", " ORGANISM Test virus",
|
|
73
|
+
f" {lineage}."]
|
|
74
|
+
lines += ["FEATURES Location/Qualifiers",
|
|
75
|
+
f" source 1..{len(sequence)}",
|
|
76
|
+
f' /db_xref="taxon:{taxon}"']
|
|
77
|
+
if host:
|
|
78
|
+
lines.append(f' /host="{host}"')
|
|
73
79
|
for location, qualifiers in features:
|
|
74
80
|
lines.append(f" CDS {location}")
|
|
75
81
|
for key, value in qualifiers.items():
|
|
@@ -123,7 +129,8 @@ def viral_documents():
|
|
|
123
129
|
first = _genbank("VTEST001.1", coding + "ACGT" * 10, [
|
|
124
130
|
("1..30", {"gene": "E1", "product": "protein E1", "protein_id": "AAA00001.1",
|
|
125
131
|
"codon_start": 1, "translation": "MAAAAAAAA"}),
|
|
126
|
-
], name="VTEST001", description="Test virus 1", taxon=10001
|
|
132
|
+
], name="VTEST001", description="Test virus 1", taxon=10001, host="Homo sapiens",
|
|
133
|
+
lineage="Viruses; Testviridae; Alphatestvirus")
|
|
127
134
|
# A spliced, minus-strand CDS that starts one base in: partial, so not complete.
|
|
128
135
|
second = _genbank("VTEST002.1", "ACGT" * 25, [
|
|
129
136
|
("complement(join(11..40,61..90))",
|
|
@@ -131,7 +138,8 @@ def viral_documents():
|
|
|
131
138
|
"translation": "MCCCCCCCCCCCCCCCCCC"}),
|
|
132
139
|
("91..99", {"gene": "E6", "product": "protein E6 short", "protein_id": "AAA00001.1",
|
|
133
140
|
"codon_start": 1, "translation": "MD"}),
|
|
134
|
-
], name="VTEST002", description="Test virus 2", taxon=10002
|
|
141
|
+
], name="VTEST002", description="Test virus 2", taxon=10002, host="Gallus gallus",
|
|
142
|
+
lineage="Viruses; Testviridae; Betatestvirus")
|
|
135
143
|
# A non-standard genetic code the source declares.
|
|
136
144
|
third = _genbank("VTEST003.1", "ATG" + "GCT" * 13 + "TAA" + "ACGT" * 5, [
|
|
137
145
|
("1..45", {"gene": "L1", "product": "protein L1", "protein_id": "AAA00003.1",
|
|
@@ -14,3 +14,18 @@ def test_a_shared_source_protein_id_is_written_once_per_record_and_reads_back(
|
|
|
14
14
|
assert len(raw) == len(set(raw)), f"writer emitted repeated protein ids: {raw}"
|
|
15
15
|
assert not any(name.startswith("AAA00001") for name in raw) # Shared id was replaced.
|
|
16
16
|
assert len(read_fasta(bundle.protein_fasta)) == len(raw)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def test_accessions_that_sanitize_to_one_token_are_not_both_kept():
|
|
20
|
+
"""HPV16's E6 and E6* have accessions HPV16-E6 and HPV16-E6*; the files strip the asterisk."""
|
|
21
|
+
from orfdata.viral_annotation import name_transcripts, unique_source_proteins
|
|
22
|
+
|
|
23
|
+
def feature(ordinal, protein):
|
|
24
|
+
return {"ordinal": ordinal, "source_protein_id": protein, "exons": ((1, 9, "+"),),
|
|
25
|
+
"gene_label": "E6"}
|
|
26
|
+
|
|
27
|
+
features = [feature(1, "HPV16-E6*"), feature(2, "HPV16-E6"), feature(3, "OTHER.1")]
|
|
28
|
+
named = name_transcripts("G", features, unique_protein_ids=unique_source_proteins(features))
|
|
29
|
+
ids = [row["protein_id"] for row in named]
|
|
30
|
+
assert ids == ["G_cds1.p", "G_cds2.p", "OTHER.1"]
|
|
31
|
+
assert len(set(ids)) == len(ids)
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"""What each source record says about its host and lineage reaches the reference."""
|
|
2
|
+
|
|
3
|
+
import csv
|
|
4
|
+
|
|
5
|
+
from conftest import serve_records, viral_documents
|
|
6
|
+
|
|
7
|
+
from orfdata import download_viral_references, viral_references
|
|
8
|
+
from orfdata.genbank import parse
|
|
9
|
+
from orfdata.reference import species_taxon
|
|
10
|
+
from orfdata.viral_annotation import genus, source_host
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def test_the_record_parser_reads_lineage_and_isolation_host():
|
|
14
|
+
from conftest import _genbank
|
|
15
|
+
|
|
16
|
+
record = parse(_genbank("VTEST009.1", "ATG" + "GCT" * 8 + "TAA", [], name="VTEST009",
|
|
17
|
+
host="Homo sapiens", lineage="Viruses; Fooviridae; Barvirus"))
|
|
18
|
+
assert record.lineage == ("Viruses", "Fooviridae", "Barvirus")
|
|
19
|
+
assert genus(record.lineage) == "Barvirus"
|
|
20
|
+
# A lineage that ends in a species group still gives its genus; none gives none.
|
|
21
|
+
assert genus(("Viruses", "Papillomaviridae", "Alphapapillomavirus", "Alphapapillomavirus 9")) \
|
|
22
|
+
== "Alphapapillomavirus"
|
|
23
|
+
assert genus(("Viruses", "Papillomaviridae")) == ""
|
|
24
|
+
assert source_host(record) == "Homo sapiens"
|
|
25
|
+
bare = parse(_genbank("VTEST010.1", "ATG" + "GCT" * 8 + "TAA", [], name="VTEST010"))
|
|
26
|
+
assert bare.lineage == () and source_host(bare) == ""
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def test_the_genome_table_keeps_host_and_group_as_the_record_gave_them(
|
|
30
|
+
viral_panel, tmp_path, monkeypatch):
|
|
31
|
+
serve_records(monkeypatch, viral_documents())
|
|
32
|
+
bundle = download_viral_references(species="human", cache_root=str(tmp_path))
|
|
33
|
+
rows = {row["accession_version"]: row for row in
|
|
34
|
+
csv.DictReader(open(bundle.genome_table), delimiter="\t")}
|
|
35
|
+
human, chicken, silent = rows["VTEST001.1"], rows["VTEST002.1"], rows["VTEST003.1"]
|
|
36
|
+
assert (human["group"], human["source_host"], human["source_host_taxon_ids"]) == (
|
|
37
|
+
"Alphatestvirus", "Homo sapiens", "9606")
|
|
38
|
+
# A host ORFdata has no taxon for stays as text, with no taxon invented.
|
|
39
|
+
# Notes after a semicolon, as GenBank allows, do not hide the species.
|
|
40
|
+
assert species_taxon("Homo sapiens; child".split(";")[0]) == 9606
|
|
41
|
+
assert (chicken["source_host"], chicken["source_host_taxon_ids"]) == ("Gallus gallus", "")
|
|
42
|
+
# A record that says nothing gives nothing, whatever the collection's target is.
|
|
43
|
+
assert (silent["group"], silent["source_host"], silent["source_host_taxon_ids"]) == ("", "", "")
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def test_installed_references_select_by_host_and_group(viral_panel, tmp_path, monkeypatch):
|
|
47
|
+
serve_records(monkeypatch, viral_documents())
|
|
48
|
+
download_viral_references(species="human", cache_root=str(tmp_path))
|
|
49
|
+
found = {item.source_accession: item for item in viral_references(cache_root=str(tmp_path))}
|
|
50
|
+
human = found["VTEST001.1"]
|
|
51
|
+
assert (human.group, human.host_taxon_ids) == ("Alphatestvirus", (9606,))
|
|
52
|
+
assert "VTEST001.1" in human.host_source and "Homo sapiens" in human.host_source
|
|
53
|
+
assert not found["VTEST003.1"].host_taxon_ids and found["VTEST003.1"].host_source == ""
|
|
54
|
+
chosen = viral_references(host="human", cache_root=str(tmp_path))
|
|
55
|
+
assert [item.source_accession for item in chosen if item.bundle] == ["VTEST001.1"]
|
|
56
|
+
assert [item.source_accession for item in viral_references(
|
|
57
|
+
group="betatestvirus", cache_root=str(tmp_path))] == ["VTEST002.1"]
|
|
@@ -30,14 +30,15 @@ def test_an_installed_collection_lists_its_references(viral_panel, tmp_path):
|
|
|
30
30
|
assert {"VTEST001.1", "VTEST002.1", "VTEST003.1", "VTEST004.1"} <= set(found)
|
|
31
31
|
first = found["VTEST001.1"]
|
|
32
32
|
assert first.bundle is not None and first.virus_type == "TV1"
|
|
33
|
-
assert first.group == "" and first.host_taxon_ids == ()
|
|
33
|
+
assert first.group == "Alphatestvirus" and first.host_taxon_ids == (9606,)
|
|
34
34
|
assert first.coding_models == 1
|
|
35
35
|
assert [item.protein_id for item in first.products] == ["VTEST001.1_cds1.p"]
|
|
36
36
|
assert viral_reference("VTEST001.1", cache_root=str(tmp_path)) == first
|
|
37
37
|
assert viral_references(virus_type="tv1", cache_root=str(tmp_path)) == (first,)
|
|
38
|
-
#
|
|
38
|
+
# A host query adds the installed references whose own record names that host,
|
|
39
|
+
# and installed=False leaves the bundled answer unchanged.
|
|
39
40
|
assert viral_references(host="human", cache_root=str(tmp_path)) == \
|
|
40
|
-
viral_references(host="human", installed=False)
|
|
41
|
+
viral_references(host="human", installed=False) + (first,)
|
|
41
42
|
assert all(item.bundle is None for item in viral_references(installed=False))
|
|
42
43
|
with pytest.raises(ValueError, match="No unique"):
|
|
43
44
|
viral_reference("VTEST001.1", installed=False)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.46.2"
|
|
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
|
|
File without changes
|