orfdata 0.46.2__tar.gz → 0.48.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.48.0}/PKG-INFO +1 -1
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/downstream.md +16 -5
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/genbank.py +11 -2
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/record_sources.py +4 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/rna.py +18 -4
- orfdata-0.48.0/orfdata/source_cds.py +30 -0
- orfdata-0.48.0/orfdata/version.py +1 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/viral.py +13 -18
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/viral_annotation.py +42 -3
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/viral_installed.py +28 -40
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/viral_panel.py +21 -13
- {orfdata-0.46.2 → orfdata-0.48.0/orfdata.egg-info}/PKG-INFO +1 -1
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata.egg-info/SOURCES.txt +3 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/conftest.py +15 -7
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_shared_protein_ids.py +15 -0
- orfdata-0.48.0/tests/test_source_cds.py +66 -0
- orfdata-0.48.0/tests/test_viral_host_group.py +57 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_viral_installed.py +10 -6
- orfdata-0.46.2/orfdata/version.py +0 -1
- {orfdata-0.46.2 → orfdata-0.48.0}/LICENSE +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/MANIFEST.in +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/deploy.sh +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/catalogs.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/cli-design.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/cli.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/copy-yeast.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/coverage.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/dog-data-sources.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/dog-peptides.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/downloads.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/examples.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/human-tissue.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/index.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/ingolia-yeast.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/mammary-stroma.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/measurements.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/pairing.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/pfizer-peptides.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/pfizer-protein.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/pfizer-rna.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/proteome.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/reference.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/search-references.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/source-references.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/species.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/storage.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/stylesheets/docs.css +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs/viral.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/docs.sh +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/lint.sh +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/mkdocs.yml +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/__init__.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/_pinned_genome.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/_structure.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/artifact_archives.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/build.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/catalog.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/catalog_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/catalog_manifest.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/catalogs.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/cli_output.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/cli_parser.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/catalogs.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/chains.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/datasets.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/genomes.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/ires/rfam-15.1-human-ires.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/orf-evidence/AUTHOR-LICENSE.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/orf-evidence/NOTICE.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/orf-evidence/catalog.json.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/orf-evidence/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/uorf-evidence/AUTHOR-LICENSE.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/uorf-evidence/NOTICE.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/uorf-evidence/catalog.json.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/uorf-evidence/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/viral/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/viral/gdc-grch38-d1-vd1-coverage.tsv +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/viral/gdc-grch38-d1-vd1-genbank.tsv +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/viral/gdc-grch38-d1-vd1-pave.tsv +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/viral/hpv16-refseq-CDS.json.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data/viral/subsets.yaml +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/data_resources.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/dataset_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/datasets.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/download_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/downloads.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/ensembl.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/errors.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/evidence.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/evidence_summary.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/fasta.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/genomes.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/genomes_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/gtf.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/initiation_context.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/install.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/liftover.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/liftover_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/measurements.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/model.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/net.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/numeric_vector.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/pairing.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/proteome.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/proteome_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/reference.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/reference_ledger.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/reference_mapping.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/reference_table.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/refseq.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/search_reference.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sequence.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/__init__.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/copy.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/ingolia.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/kaabinejadian.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/mammary_stroma.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/ncorf_mammals.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/openprot.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/peptideatlas.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/pfizer.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/pfizer_attribution.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/pfizer_dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/pfizer_definitions.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/pfizer_evidence.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/pfizer_lineage.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/pfizer_native.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/pfizer_queries.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/pfizer_rna.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/pfizer_vendor.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/riborf.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/riborf_native.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/sources/wang.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/viral_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/viral_coverage.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/viral_registry.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata/viral_subsets.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata.egg-info/dependency_links.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata.egg-info/entry_points.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata.egg-info/requires.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/orfdata.egg-info/top_level.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/pyproject.toml +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/setup.cfg +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/test.sh +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/aggregate_evidence.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/GSM1905474.soft +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/GSM1905474_KL9_fpkm.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/GSM1905476.soft +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/GSM1905476_KL10_fpkm.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/GSM1905478.soft +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/GSM1905478_KL11_fpkm.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/GSM1905479.soft +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/GSM1905479_KL12_fpkm.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/geo-series.soft +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/methods.pdf +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/paper.xml +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/pmc-metadata.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/qconcat.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/copy/workbook.xlsx +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ensembl/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ensembl/gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ensembl/internal-stop/gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ensembl/internal-stop/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ensembl/internal-stop/ncrna.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ensembl/internal-stop/protein.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ensembl/internal-stop/rna.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ensembl/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ensembl/ncrna.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ensembl/protein.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ensembl/rna.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346111.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346111.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346114.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346114.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346115.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346115.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346116.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346116.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346117.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346117.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346118.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346118.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346120.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346120.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346122.metadata.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/GSM346122.quant.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ingolia/readMe.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/kaabinejadian/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/kaabinejadian/Results.zip +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/kaabinejadian/manifest-v1.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/kaabinejadian/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/kaabinejadian/sdrf.tsv +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/mammary_stroma/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/mammary_stroma/geo.soft.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/mammary_stroma/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/mammary_stroma/paper.xml +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/mammary_stroma/peptides.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/mammary_stroma/project.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/mammary_stroma/proteinGroups.txt +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/mammary_stroma/rna.csv.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ncorf_mammals/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ncorf_mammals/S3.xlsx +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ncorf_mammals/ensembl107.cdna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ncorf_mammals/ensembl107.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ncorf_mammals/human-ensembl107.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ncorf_mammals/human.bed +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ncorf_mammals/human.pep.fa +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ncorf_mammals/mouse.bed +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/ncorf_mammals/mouse.pep.fa +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/openprot/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/openprot/ensembl106.cdna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/openprot/ensembl106.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.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.48.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.48.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.48.0}/tests/data/peptideatlas/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/peptideatlas/atlas_build.tsv.zip +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/peptideatlas/ensembl.pep.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/peptideatlas/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/dog/expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/dog/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/dog/protein.tsv +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/dog/search.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/human/expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/human/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/human/protein.tsv +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/human/search.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/mouse/expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/mouse/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/mouse/protein.tsv +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/mouse/search.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/acquisition-missingness.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/definitions.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/dog-panel.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/membership-search-slice.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/memberships.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/native.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/parent-status-search-slice.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/parent-status.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/psm-parent-sets-search-slice.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/psm-parent-sets.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/search-slice.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/search-slice.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/study-slice.xml +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer/vendor/summary-samples.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer_rna/GSE325522_family.soft.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer_rna/GSE325523_family.soft.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer_rna/GSE325525_family.soft.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer_rna/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer_rna/counts.csv.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer_rna/dog-annotation.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer_rna/dog-expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer_rna/dog-manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer_rna/mouse-annotation.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer_rna/mouse-expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer_rna/mouse-manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/pfizer_rna/samples.xlsx +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/references/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/references/canis_lupus_familiaris.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/references/context-keys-v0.4.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/references/ensembl115.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/references/homo_sapiens.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/references/mitochondrial.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/references/mus_musculus.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/references/saccharomyces_cerevisiae.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/references/transcript_orf_v1_0.42.0.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/references/uniprot_literature.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/regions/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/regions/ingolia.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/SD3.xlsx +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/ensembl107.cdna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/ensembl107.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/ensembl107.ncrna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/gencodeM25.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/gencodeM25.rna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/human-ensembl105.cdna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/human-ensembl105.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/human-ensembl105.ncrna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/v3-manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/worm-ensembl105.cdna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/worm-ensembl105.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/worm-ensembl105.ncrna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/yeast-ensembl115.cdna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/yeast-ensembl115.dna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/yeast-ensembl115.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/zebrafish-ensembl115.cdna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/zebrafish-ensembl115.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/riborf/zebrafish-ensembl115.ncrna.fa.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/search_reference/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/search_reference/dog.fasta +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/search_reference/ensembl83-expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/search_reference/ensembl83-human.fasta.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/search_reference/expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/storage/README.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/storage/generate.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/storage/v1.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/storage/v1.sqlite +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/storage/v2.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/storage/v2.sqlite +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/storage/v3.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/storage/v3.sqlite +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/storage/v4.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/storage/v4.sqlite +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/viral/GRCh83.d1.vd1_virus_decoy.txt.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/viral/NC_001526.4.gb.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/viral/genbank/HBV__X04615.1.gb.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/viral/genbank/HPV16__K02718.1.gb.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/viral/genbank/HPV35__X74477.1.gb.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/viral/genbank/HPV51__M62877.1.gb.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/viral/genbank/HPV56__X74483.1.gb.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/wang/NOTICE.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/wang/annotation.gtf.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/wang/copies.zip +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/wang/expected.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/wang/manifest.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/wang/protein.zip +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/wang/rna.zip +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/data/wang/search.fasta.gz +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_artifact_archives.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_bundle_readers.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_catalog_registry.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_cli_audit.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_cli_options.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_copy.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_cross_reference_pairing.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_data_resources.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_dog_export_read_ahead.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_dog_ncorf_search.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_dog_peptides.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_downloads.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_ensembl.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_ensembl_search_reference.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_evidence_rules.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_evidence_summary.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_exit_statuses.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_export_sqlite_rows.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_extraction_budget.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_ftps_sqlite.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_genbank.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_genbank_equivalence.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_genetic_codes.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_genomes.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_ingolia.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_initiation_context.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_liftover.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_local_build_queries.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_mammary_stroma.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_measurements.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_merge_catalogs.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_more_species.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_ncorf_mammals.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_numeric_vector.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_openprot.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_orf_cases.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_orf_gtf.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_package_dog_dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_package_sqlite_archive.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_paired_selectors.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_pairing.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_pfizer.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_pfizer_attribution.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_pfizer_dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_pfizer_definitions.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_pfizer_evidence.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_pfizer_lineage.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_pfizer_native.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_pfizer_rna.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_pfizer_vendor.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_protein_set.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_proteome.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_proteome_external.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_proteome_fasta_tokens.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_proteome_producer_graph.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_reference_context.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_reference_ledger.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_reference_mapping.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_reference_orf.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_reference_table.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_refseq.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_region_targets.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_resume.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_riborf.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_search_reference.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_selectors.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_storage.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_transcript_orf_serialization.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_uorf_catalog.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_verify_dog_dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_viral.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_viral_bundle.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_viral_cli.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_viral_collections.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_viral_completeness.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_viral_coverage.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_viral_initiation.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_viral_origin_join.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_viral_sources.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_viral_subsets.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tests/test_wang.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/README-dog-results.md +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/__init__.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/build_dog_dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/build_gdc_viral_coverage.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/build_hpv16_cds.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/build_reference_ledger.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/dog_result_plan.json +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/export_dog_lineage.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/export_dog_results.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/export_sqlite_rows.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/extraction_budget.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/ftps_sqlite.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/inspect_dog_results.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/normalize_dog_evidence.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/package_dog_dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/package_sqlite_archive.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/verify_dog_dataset.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/verify_mammary_stroma.py +0 -0
- {orfdata-0.46.2 → orfdata-0.48.0}/tools/verify_riborf_native.py +0 -0
|
@@ -57,11 +57,22 @@ Isovar asks ORFdata for coding references by exact genome sequence, not through
|
|
|
57
57
|
a PyEnsembl genome. `viral_references()`, `viral_orfs()` and
|
|
58
58
|
`viral_panel_coverage()` read every installed collection as well as the bundled
|
|
59
59
|
HPV16 catalogue, so a collection installed with `orfdata data fetch` supplies
|
|
60
|
-
Isovar's viral models for every contig it holds.
|
|
61
|
-
exactly to
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
Isovar's viral models for every contig it holds. A CDS is offered when it
|
|
61
|
+
translates exactly to its source protein, wherever it lies: on either strand,
|
|
62
|
+
across the origin of a circular genome, with a frameshift, or partial at either
|
|
63
|
+
end (the ORF says which boundaries the source establishes). `viral_references()`
|
|
64
|
+
says in each reference's `scope` how many were left out, and they remain in the
|
|
65
|
+
transcriptome layer. In the GDC collection that is six of 1,758: three with an
|
|
66
|
+
ambiguous base, two whose source protein does not match their codons, and an EBV
|
|
67
|
+
gene spliced back across the terminal repeat.
|
|
68
|
+
|
|
69
|
+
An installed reference carries what its own GenBank record says: its `group` is
|
|
70
|
+
the genus in the record's lineage, and `host_taxon_ids` and `host_source` name
|
|
71
|
+
the host the sequence was isolated from, with the accession as the source.
|
|
72
|
+
That is an isolation host, not a host range, and it is empty when the record
|
|
73
|
+
names none, so `viral_references(host="human")` returns the references whose
|
|
74
|
+
record says human and not every virus a human can carry. `ictv_species` stays
|
|
75
|
+
empty until curated (#104).
|
|
65
76
|
|
|
66
77
|
### Declaring the genome for vaxrank
|
|
67
78
|
|
|
@@ -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):
|
|
@@ -26,6 +26,12 @@ class SourceRNA:
|
|
|
26
26
|
cover the sequence exactly once; a circular RNA's junction joins its last
|
|
27
27
|
base to its first. ``related_transcript_ids`` names annotated transcripts it
|
|
28
28
|
derives from; no Ensembl transcript identity is invented for it.
|
|
29
|
+
|
|
30
|
+
A block follows the previous one in the strand's direction and may share its
|
|
31
|
+
boundary base, as a ribosomal frameshift rereads one. On a circular contig
|
|
32
|
+
(``contig_length`` is its size) a block may also continue across the origin,
|
|
33
|
+
from the contig's last base to its first on the plus strand, or from its
|
|
34
|
+
first to its last on the minus strand.
|
|
29
35
|
"""
|
|
30
36
|
|
|
31
37
|
id: str
|
|
@@ -40,6 +46,7 @@ class SourceRNA:
|
|
|
40
46
|
gene_name: Optional[str] = None
|
|
41
47
|
biotype: Optional[str] = None
|
|
42
48
|
related_transcript_ids: tuple = ()
|
|
49
|
+
contig_length: Optional[int] = None
|
|
43
50
|
|
|
44
51
|
def __post_init__(self):
|
|
45
52
|
object.__setattr__(self, "sequence", str(self.sequence).upper())
|
|
@@ -56,13 +63,20 @@ class SourceRNA:
|
|
|
56
63
|
raise ValueError("Genomic exons need a contig and strand")
|
|
57
64
|
if any(a < 1 or b < a for a, b in self.exons):
|
|
58
65
|
raise ValueError("Exons are 1-based inclusive blocks")
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
raise ValueError("Exons must be in RNA order
|
|
66
|
+
if self.contig_length is not None and max(b for _, b in self.exons) > self.contig_length:
|
|
67
|
+
raise ValueError("Exons lie beyond the end of the contig")
|
|
68
|
+
if not all(self._follows(*before, *after) for before, after in zip(self.exons, self.exons[1:])):
|
|
69
|
+
raise ValueError("Exons must be in RNA order along the strand, sharing at most one base")
|
|
63
70
|
if sum(b - a + 1 for a, b in self.exons) != len(self.sequence):
|
|
64
71
|
raise ValueError("Exons must cover the RNA sequence exactly once")
|
|
65
72
|
|
|
73
|
+
def _follows(self, start, end, next_start, next_end):
|
|
74
|
+
"""Whether a block can come right after another in RNA order."""
|
|
75
|
+
last = self.contig_length
|
|
76
|
+
if self.strand == "+":
|
|
77
|
+
return next_start >= end or (end == last and next_start == 1)
|
|
78
|
+
return next_end <= start or (start == 1 and next_end == last)
|
|
79
|
+
|
|
66
80
|
@property
|
|
67
81
|
def versioned_id(self):
|
|
68
82
|
return self.id
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""A CDS a source annotates on a viral genome, placed as a SourceRNA and read as an ORF."""
|
|
2
|
+
|
|
3
|
+
from .model import TranscriptORF
|
|
4
|
+
from .rna import SourceRNA
|
|
5
|
+
|
|
6
|
+
_COMPLEMENT = str.maketrans("ACGT", "TGCA")
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def source_cds_orf(genome, blocks, strand, *, context, label, accession, protein_id, gene, source,
|
|
10
|
+
protein, translation_table, start_complete, start_codon=None, phase=0):
|
|
11
|
+
"""The ORF of one source CDS on ``genome`` (named ``label``), exactly as the source gives it.
|
|
12
|
+
|
|
13
|
+
``blocks`` are the CDS's 1-based inclusive genomic blocks in reading order,
|
|
14
|
+
which wrap the origin of a circular genome or share a base across a
|
|
15
|
+
frameshift where the source says so. The ORF is read from the first base to
|
|
16
|
+
the first stop, and must translate to the source ``protein``; otherwise this
|
|
17
|
+
raises ``ValueError`` and the caller keeps the CDS out, with the reason.
|
|
18
|
+
"""
|
|
19
|
+
coding = "".join(genome[a - 1:b] if strand == "+" else genome[a - 1:b].translate(_COMPLEMENT)[::-1]
|
|
20
|
+
for a, b in blocks)
|
|
21
|
+
rna = SourceRNA(
|
|
22
|
+
id=f"{accession}:CDS:{protein_id}", sequence=coding, reference=context, source=source,
|
|
23
|
+
contig=label, strand=strand, exons=blocks, gene_name=gene, biotype="source_CDS_fragment",
|
|
24
|
+
contig_length=len(genome))
|
|
25
|
+
orf = TranscriptORF.at(
|
|
26
|
+
rna, 0, orf_id=protein_id, source=source, protein=protein, translation_table=translation_table,
|
|
27
|
+
orf_type="reference_CDS", start_codon=start_codon, start_complete=start_complete, phase=phase)
|
|
28
|
+
if orf.coding_sequence != coding:
|
|
29
|
+
raise ValueError("coding boundaries do not translate exactly")
|
|
30
|
+
return orf
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.48.0"
|
|
@@ -6,13 +6,11 @@ import json
|
|
|
6
6
|
from dataclasses import asdict, dataclass
|
|
7
7
|
from functools import cached_property, lru_cache
|
|
8
8
|
|
|
9
|
-
from .model import TranscriptORF
|
|
10
9
|
from .reference import ReferenceContext, species_taxon
|
|
11
10
|
from .reference_table import packaged_bytes
|
|
12
|
-
from .
|
|
11
|
+
from .source_cds import source_cds_orf
|
|
13
12
|
|
|
14
13
|
_CATALOG_SHA256 = "aca0c72948d4cda896d14b32203981bce4759e0c70212c05dca6f3d0e16ed4b4"
|
|
15
|
-
_COMPLEMENT = str.maketrans("ACGT", "TGCA")
|
|
16
14
|
|
|
17
15
|
|
|
18
16
|
@dataclass(frozen=True)
|
|
@@ -160,11 +158,12 @@ def viral_references(*, host=None, group=None, virus_type=None, installed=True,
|
|
|
160
158
|
Named virus type, such as ``"HPV16"``; distinct from ICTV species.
|
|
161
159
|
installed : bool, default True
|
|
162
160
|
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
|
-
|
|
161
|
+
This reads local files only. An installed reference has a ``bundle``.
|
|
162
|
+
Its ``group`` is the genus in its GenBank record's lineage (a bundled
|
|
163
|
+
reference's is a curated label such as ``"HPV"``),
|
|
164
|
+
and its host is the isolation host that record names, with the record
|
|
165
|
+
as ``host_source``; ``ictv_species`` is empty until curated (#104).
|
|
166
|
+
Pass ``False`` for the bundled catalogue alone.
|
|
168
167
|
cache_root : path, optional
|
|
169
168
|
Where collections are installed; the default ORFdata cache otherwise.
|
|
170
169
|
|
|
@@ -295,18 +294,14 @@ def viral_orfs(reference_sequence=None, *, reference_id=None, contig=None, insta
|
|
|
295
294
|
for cds in data["cds"]:
|
|
296
295
|
protein_id = cds["protein_id"]
|
|
297
296
|
blocks = reference["coding_blocks"][protein_id]
|
|
298
|
-
coding = "".join(sequence[a - 1:b] if cds["strand"] == "+" else
|
|
299
|
-
sequence[a - 1:b].translate(_COMPLEMENT)[::-1] for a, b in blocks)
|
|
300
297
|
if cds["phase"] != 0:
|
|
301
298
|
raise ValueError(f"Unsupported partial source codon: {protein_id}")
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
orf_type="reference_CDS", start_complete=cds["start_complete"])
|
|
309
|
-
if orf.coding_sequence != coding or orf.stop_complete != cds["stop_complete"]:
|
|
299
|
+
orf = source_cds_orf(
|
|
300
|
+
sequence, blocks, cds["strand"], context=context, label=label,
|
|
301
|
+
accession=source["accession"], protein_id=protein_id, gene=cds["gene"],
|
|
302
|
+
source=f"NCBI RefSeq {source['accession']}", protein=cds["protein_sequence"],
|
|
303
|
+
translation_table=cds["translation_table"], start_complete=cds["start_complete"])
|
|
304
|
+
if orf.stop_complete != cds["stop_complete"]:
|
|
310
305
|
raise ValueError(f"Source coding boundaries do not translate exactly: {protein_id}")
|
|
311
306
|
result.append(orf)
|
|
312
307
|
return tuple(result)
|
|
@@ -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.
|
|
@@ -8,13 +8,14 @@ functions answer for every installed collection, from the bundle's own files
|
|
|
8
8
|
and with no second format. Lookup is offline: nothing here downloads, and a
|
|
9
9
|
collection that is not installed contributes nothing.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
Every source CDS is read the same way, as the source gives it: its blocks in
|
|
12
|
+
reading order (across a circular origin, or sharing a base at a frameshift), the
|
|
13
|
+
start it declares and the codon its first whole codon begins at. It is offered
|
|
14
|
+
as an ORF when the bases translate exactly to the source protein, and keeps the
|
|
15
|
+
start and stop completeness the source establishes. One that does not stays in
|
|
16
|
+
the transcriptome layer, where PyEnsembl still sees it, and ``coding_models``
|
|
17
|
+
counts only the ORFs offered. A CDS with an ambiguous base, or whose source
|
|
18
|
+
protein does not match its codons, is among them.
|
|
18
19
|
"""
|
|
19
20
|
|
|
20
21
|
import hashlib
|
|
@@ -27,11 +28,9 @@ import pandas as pd
|
|
|
27
28
|
|
|
28
29
|
from .fasta import read_fasta
|
|
29
30
|
from .gtf import read_exons
|
|
30
|
-
from .model import TranscriptORF
|
|
31
31
|
from .reference import ReferenceContext, canonical_species
|
|
32
|
-
from .
|
|
32
|
+
from .source_cds import source_cds_orf
|
|
33
33
|
|
|
34
|
-
_COMPLEMENT = str.maketrans("ACGT", "TGCA")
|
|
35
34
|
_DECLARED = ("alternative", "declared", "non_canonical")
|
|
36
35
|
_UNESTABLISHED = ("partial", "unknown")
|
|
37
36
|
|
|
@@ -81,23 +80,18 @@ def _tables(files):
|
|
|
81
80
|
return genomes, transcripts, exons, sequences, read_fasta(files.protein_fasta, upper=True)
|
|
82
81
|
|
|
83
82
|
|
|
84
|
-
def _candidates(transcripts):
|
|
85
|
-
"""The transcripts worth binding: complete, starting at the first base, with no claimed recoding."""
|
|
86
|
-
return transcripts[(transcripts["annotation_complete"] == "yes")
|
|
87
|
-
& (transcripts["codon_start"] == "1")
|
|
88
|
-
& (transcripts["recoding"] == "")]
|
|
89
|
-
|
|
90
|
-
|
|
91
83
|
def _species(name):
|
|
92
84
|
return re.sub(r"[^a-z0-9]+", "_", name.lower()).strip("_")
|
|
93
85
|
|
|
94
86
|
|
|
95
87
|
def _bind(files, genome_id, sequence, label):
|
|
96
|
-
"""
|
|
88
|
+
"""Place a genome's source CDSs; returns ``(orfs, skipped)``.
|
|
97
89
|
|
|
98
|
-
|
|
99
|
-
named in ``skipped`` with the reason, so one
|
|
100
|
-
rest of the reference unusable and nothing is
|
|
90
|
+
Every CDS is read from the table the same way. One that does not translate
|
|
91
|
+
exactly to its source protein is named in ``skipped`` with the reason, so one
|
|
92
|
+
odd feature does not make the rest of the reference unusable and nothing is
|
|
93
|
+
dropped without a record. The source's own statement of how a CDS starts and
|
|
94
|
+
where its first whole codon is (``initiation``, ``codon_start``) is passed on.
|
|
101
95
|
"""
|
|
102
96
|
genomes, transcripts, exons, _, proteins = _tables(files)
|
|
103
97
|
row = genomes[genomes["genome_id"] == genome_id].iloc[0]
|
|
@@ -107,29 +101,21 @@ def _bind(files, genome_id, sequence, label):
|
|
|
107
101
|
sequence_sha256=row.genome_sha256)
|
|
108
102
|
source = f"{files.collection} inventory {row.accession_version}"
|
|
109
103
|
orfs, skipped = [], []
|
|
110
|
-
for item in
|
|
104
|
+
for item in transcripts[transcripts["genome_id"] == genome_id].itertuples():
|
|
111
105
|
blocks, strand = exons[item.transcript_id]
|
|
112
|
-
coding = "".join(sequence[a - 1:b] if strand == "+" else
|
|
113
|
-
sequence[a - 1:b].translate(_COMPLEMENT)[::-1] for a, b in blocks)
|
|
114
106
|
try:
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
translation_table=int(item.translation_table), orf_type="reference_CDS",
|
|
123
|
-
# How the source starts the CDS: a non-ATG start it declares is passed
|
|
124
|
-
# on, and a start it does not establish is read as an ordinary codon.
|
|
107
|
+
orfs.append(source_cds_orf(
|
|
108
|
+
sequence, blocks, strand, context=context, label=label,
|
|
109
|
+
accession=row.accession_version, protein_id=item.protein_id, gene=item.gene,
|
|
110
|
+
source=source, protein=proteins[item.protein_id].removesuffix("*"),
|
|
111
|
+
translation_table=int(item.translation_table),
|
|
112
|
+
# A start the source declares is passed on; one it does not establish
|
|
113
|
+
# is read as an ordinary codon.
|
|
125
114
|
start_codon=item.start_codon if item.initiation in _DECLARED else None,
|
|
126
|
-
start_complete=item.initiation not in _UNESTABLISHED
|
|
127
|
-
|
|
128
|
-
raise ValueError("coding boundaries do not translate exactly")
|
|
115
|
+
start_complete=item.initiation not in _UNESTABLISHED,
|
|
116
|
+
phase=int(item.codon_start) - 1))
|
|
129
117
|
except (ValueError, KeyError) as error:
|
|
130
118
|
skipped.append((item.protein_id, str(error)))
|
|
131
|
-
else:
|
|
132
|
-
orfs.append(orf)
|
|
133
119
|
return tuple(orfs), tuple(skipped)
|
|
134
120
|
|
|
135
121
|
|
|
@@ -155,7 +141,9 @@ def _references_of(files, collection_name):
|
|
|
155
141
|
references.append(ViralReference(
|
|
156
142
|
id=row.genome_id, species=_species(row.name), taxon_id=int(row.viral_taxon_id),
|
|
157
143
|
host_taxon_ids=tuple(int(value) for value in row.source_host_taxon_ids.split(",") if value),
|
|
158
|
-
host_source="
|
|
144
|
+
host_source=(f"{row.accession_version} isolation host: {row.source_host}"
|
|
145
|
+
if row.source_host else ""),
|
|
146
|
+
group=row.group, virus_type=row.abbreviation, ictv_species="",
|
|
159
147
|
taxonomy_source=f"{collection_name} inventory", length=len(sequence),
|
|
160
148
|
sequence_md5=hashlib.md5(sequence.encode("ascii"), usedforsecurity=False).hexdigest(),
|
|
161
149
|
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
|
)
|
|
@@ -81,6 +81,7 @@ orfdata/refseq.py
|
|
|
81
81
|
orfdata/rna.py
|
|
82
82
|
orfdata/search_reference.py
|
|
83
83
|
orfdata/sequence.py
|
|
84
|
+
orfdata/source_cds.py
|
|
84
85
|
orfdata/version.py
|
|
85
86
|
orfdata/viral.py
|
|
86
87
|
orfdata/viral_annotation.py
|
|
@@ -204,6 +205,7 @@ tests/test_riborf.py
|
|
|
204
205
|
tests/test_search_reference.py
|
|
205
206
|
tests/test_selectors.py
|
|
206
207
|
tests/test_shared_protein_ids.py
|
|
208
|
+
tests/test_source_cds.py
|
|
207
209
|
tests/test_storage.py
|
|
208
210
|
tests/test_transcript_orf_serialization.py
|
|
209
211
|
tests/test_uorf_catalog.py
|
|
@@ -214,6 +216,7 @@ tests/test_viral_cli.py
|
|
|
214
216
|
tests/test_viral_collections.py
|
|
215
217
|
tests/test_viral_completeness.py
|
|
216
218
|
tests/test_viral_coverage.py
|
|
219
|
+
tests/test_viral_host_group.py
|
|
217
220
|
tests/test_viral_initiation.py
|
|
218
221
|
tests/test_viral_installed.py
|
|
219
222
|
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",
|