orfdata 0.45.0__tar.gz → 0.46.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {orfdata-0.45.0/orfdata.egg-info → orfdata-0.46.1}/PKG-INFO +1 -1
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/downstream.md +25 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/__init__.py +2 -0
- orfdata-0.46.1/orfdata/fasta.py +40 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/gtf.py +38 -1
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/proteome.py +7 -3
- orfdata-0.46.1/orfdata/version.py +1 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/viral.py +89 -17
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/viral_cli.py +2 -2
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/viral_coverage.py +28 -3
- orfdata-0.46.1/orfdata/viral_installed.py +235 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/viral_panel.py +22 -2
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/viral_subsets.py +1 -1
- {orfdata-0.45.0 → orfdata-0.46.1/orfdata.egg-info}/PKG-INFO +1 -1
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata.egg-info/SOURCES.txt +4 -0
- orfdata-0.46.1/tests/test_bundle_readers.py +80 -0
- orfdata-0.46.1/tests/test_shared_protein_ids.py +16 -0
- orfdata-0.46.1/tests/test_viral_installed.py +164 -0
- orfdata-0.45.0/orfdata/fasta.py +0 -11
- orfdata-0.45.0/orfdata/version.py +0 -1
- {orfdata-0.45.0 → orfdata-0.46.1}/LICENSE +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/MANIFEST.in +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/README.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/deploy.sh +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/catalogs.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/cli-design.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/cli.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/copy-yeast.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/coverage.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/dog-data-sources.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/dog-peptides.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/downloads.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/examples.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/human-tissue.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/index.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/ingolia-yeast.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/mammary-stroma.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/measurements.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/pairing.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/pfizer-peptides.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/pfizer-protein.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/pfizer-rna.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/proteome.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/reference.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/search-references.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/source-references.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/species.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/storage.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/stylesheets/docs.css +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs/viral.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/docs.sh +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/lint.sh +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/mkdocs.yml +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/_pinned_genome.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/_structure.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/artifact_archives.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/build.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/catalog.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/catalog_cli.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/catalog_manifest.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/catalogs.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/cli.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/cli_output.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/cli_parser.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/catalogs.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/chains.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/datasets.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/genomes.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/ires/rfam-15.1-human-ires.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/orf-evidence/AUTHOR-LICENSE.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/orf-evidence/NOTICE.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/orf-evidence/catalog.json.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/orf-evidence/manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/uorf-evidence/AUTHOR-LICENSE.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/uorf-evidence/NOTICE.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/uorf-evidence/catalog.json.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/uorf-evidence/manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/viral/NOTICE.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/viral/gdc-grch38-d1-vd1-coverage.tsv +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/viral/gdc-grch38-d1-vd1-genbank.tsv +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/viral/gdc-grch38-d1-vd1-pave.tsv +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/viral/hpv16-refseq-CDS.json.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data/viral/subsets.yaml +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/data_resources.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/dataset.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/dataset_cli.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/datasets.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/download_cli.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/downloads.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/ensembl.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/errors.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/evidence.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/evidence_summary.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/genbank.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/genomes.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/genomes_cli.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/initiation_context.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/install.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/liftover.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/liftover_cli.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/measurements.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/model.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/net.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/numeric_vector.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/pairing.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/proteome_cli.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/record_sources.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/reference.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/reference_ledger.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/reference_mapping.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/reference_table.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/refseq.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/rna.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/search_reference.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sequence.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/__init__.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/copy.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/ingolia.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/kaabinejadian.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/mammary_stroma.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/ncorf_mammals.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/openprot.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/peptideatlas.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/pfizer.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/pfizer_attribution.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/pfizer_dataset.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/pfizer_definitions.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/pfizer_evidence.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/pfizer_lineage.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/pfizer_native.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/pfizer_queries.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/pfizer_rna.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/pfizer_vendor.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/riborf.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/riborf_native.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/sources/wang.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/viral_annotation.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata/viral_registry.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata.egg-info/dependency_links.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata.egg-info/entry_points.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata.egg-info/requires.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/orfdata.egg-info/top_level.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/pyproject.toml +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/setup.cfg +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/test.sh +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/conftest.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/aggregate_evidence.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/GSM1905474.soft +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/GSM1905474_KL9_fpkm.txt.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/GSM1905476.soft +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/GSM1905476_KL10_fpkm.txt.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/GSM1905478.soft +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/GSM1905478_KL11_fpkm.txt.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/GSM1905479.soft +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/GSM1905479_KL12_fpkm.txt.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/NOTICE.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/expected.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/geo-series.soft +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/methods.pdf +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/paper.xml +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/pmc-metadata.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/qconcat.fasta +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/copy/workbook.xlsx +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ensembl/README.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ensembl/gtf.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ensembl/internal-stop/gtf.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ensembl/internal-stop/manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ensembl/internal-stop/ncrna.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ensembl/internal-stop/protein.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ensembl/internal-stop/rna.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ensembl/manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ensembl/ncrna.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ensembl/protein.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ensembl/rna.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346111.metadata.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346111.quant.txt.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346114.metadata.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346114.quant.txt.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346115.metadata.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346115.quant.txt.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346116.metadata.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346116.quant.txt.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346117.metadata.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346117.quant.txt.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346118.metadata.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346118.quant.txt.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346120.metadata.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346120.quant.txt.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346122.metadata.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/GSM346122.quant.txt.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/NOTICE.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/expected.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ingolia/readMe.txt.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/kaabinejadian/README.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/kaabinejadian/Results.zip +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/kaabinejadian/manifest-v1.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/kaabinejadian/manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/kaabinejadian/sdrf.tsv +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/mammary_stroma/NOTICE.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/mammary_stroma/geo.soft.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/mammary_stroma/manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/mammary_stroma/paper.xml +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/mammary_stroma/peptides.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/mammary_stroma/project.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/mammary_stroma/proteinGroups.txt +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/mammary_stroma/rna.csv.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ncorf_mammals/README.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ncorf_mammals/S3.xlsx +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ncorf_mammals/ensembl107.cdna.fa.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ncorf_mammals/ensembl107.gtf.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ncorf_mammals/human-ensembl107.gtf.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ncorf_mammals/human.bed +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ncorf_mammals/human.pep.fa +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ncorf_mammals/mouse.bed +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/ncorf_mammals/mouse.pep.fa +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/openprot/README.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/openprot/ensembl106.cdna.fa.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/openprot/ensembl106.gtf.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.bed.zip +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.fasta.zip +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.tsv.zip +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/peptideatlas/README.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/peptideatlas/atlas_build.tsv.zip +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/peptideatlas/ensembl.pep.fa.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/peptideatlas/manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/NOTICE.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/dog/expected.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/dog/manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/dog/protein.tsv +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/dog/search.fasta +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/human/expected.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/human/manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/human/protein.tsv +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/human/search.fasta +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/mouse/expected.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/mouse/manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/mouse/protein.tsv +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/mouse/search.fasta +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/NOTICE.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/acquisition-missingness.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/definitions.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/dog-panel.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/membership-search-slice.fasta +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/memberships.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/native.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/parent-status-search-slice.fasta +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/parent-status.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/psm-parent-sets-search-slice.fasta +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/psm-parent-sets.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/search-slice.fasta +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/search-slice.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/study-slice.xml +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer/vendor/summary-samples.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer_rna/GSE325522_family.soft.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer_rna/GSE325523_family.soft.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer_rna/GSE325525_family.soft.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer_rna/NOTICE.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer_rna/counts.csv.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer_rna/dog-annotation.gtf.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer_rna/dog-expected.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer_rna/dog-manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer_rna/mouse-annotation.gtf.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer_rna/mouse-expected.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer_rna/mouse-manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/pfizer_rna/samples.xlsx +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/references/README.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/references/canis_lupus_familiaris.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/references/context-keys-v0.4.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/references/ensembl115.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/references/homo_sapiens.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/references/mitochondrial.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/references/mus_musculus.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/references/saccharomyces_cerevisiae.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/references/transcript_orf_v1_0.42.0.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/references/uniprot_literature.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/regions/NOTICE.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/regions/ingolia.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/README.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/SD3.xlsx +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/ensembl107.cdna.fa.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/ensembl107.gtf.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/ensembl107.ncrna.fa.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/gencodeM25.gtf.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/gencodeM25.rna.fa.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/human-ensembl105.cdna.fa.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/human-ensembl105.gtf.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/human-ensembl105.ncrna.fa.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/v3-manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/worm-ensembl105.cdna.fa.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/worm-ensembl105.gtf.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/worm-ensembl105.ncrna.fa.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/yeast-ensembl115.cdna.fa.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/yeast-ensembl115.dna.fa.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/yeast-ensembl115.gtf.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/zebrafish-ensembl115.cdna.fa.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/zebrafish-ensembl115.gtf.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/riborf/zebrafish-ensembl115.ncrna.fa.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/search_reference/NOTICE.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/search_reference/dog.fasta +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/search_reference/ensembl83-expected.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/search_reference/ensembl83-human.fasta.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/search_reference/expected.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/storage/README.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/storage/generate.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/storage/v1.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/storage/v1.sqlite +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/storage/v2.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/storage/v2.sqlite +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/storage/v3.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/storage/v3.sqlite +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/storage/v4.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/storage/v4.sqlite +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/viral/GRCh83.d1.vd1_virus_decoy.txt.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/viral/NC_001526.4.gb.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/viral/genbank/HBV__X04615.1.gb.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/viral/genbank/HPV16__K02718.1.gb.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/viral/genbank/HPV35__X74477.1.gb.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/viral/genbank/HPV51__M62877.1.gb.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/viral/genbank/HPV56__X74483.1.gb.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/wang/NOTICE.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/wang/annotation.gtf.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/wang/copies.zip +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/wang/expected.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/wang/manifest.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/wang/protein.zip +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/wang/rna.zip +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/data/wang/search.fasta.gz +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_artifact_archives.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_catalog_registry.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_cli_audit.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_cli_options.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_copy.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_cross_reference_pairing.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_data_resources.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_dog_export_read_ahead.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_dog_ncorf_search.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_dog_peptides.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_downloads.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_ensembl.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_ensembl_search_reference.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_evidence_rules.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_evidence_summary.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_exit_statuses.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_export_sqlite_rows.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_extraction_budget.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_ftps_sqlite.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_genbank.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_genbank_equivalence.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_genetic_codes.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_genomes.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_ingolia.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_initiation_context.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_liftover.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_local_build_queries.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_mammary_stroma.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_measurements.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_merge_catalogs.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_more_species.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_ncorf_mammals.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_numeric_vector.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_openprot.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_orf_cases.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_orf_gtf.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_package_dog_dataset.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_package_sqlite_archive.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_paired_selectors.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_pairing.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_pfizer.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_pfizer_attribution.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_pfizer_dataset.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_pfizer_definitions.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_pfizer_evidence.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_pfizer_lineage.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_pfizer_native.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_pfizer_rna.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_pfizer_vendor.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_protein_set.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_proteome.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_proteome_external.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_proteome_fasta_tokens.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_proteome_producer_graph.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_reference_context.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_reference_ledger.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_reference_mapping.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_reference_orf.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_reference_table.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_refseq.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_region_targets.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_resume.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_riborf.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_search_reference.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_selectors.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_storage.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_transcript_orf_serialization.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_uorf_catalog.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_verify_dog_dataset.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_viral.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_viral_bundle.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_viral_cli.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_viral_collections.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_viral_completeness.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_viral_coverage.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_viral_initiation.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_viral_origin_join.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_viral_sources.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_viral_subsets.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tests/test_wang.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/README-dog-results.md +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/__init__.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/build_dog_dataset.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/build_gdc_viral_coverage.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/build_hpv16_cds.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/build_reference_ledger.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/dog_result_plan.json +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/export_dog_lineage.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/export_dog_results.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/export_sqlite_rows.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/extraction_budget.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/ftps_sqlite.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/inspect_dog_results.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/normalize_dog_evidence.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/package_dog_dataset.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/package_sqlite_archive.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/verify_dog_dataset.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/verify_mammary_stroma.py +0 -0
- {orfdata-0.45.0 → orfdata-0.46.1}/tools/verify_riborf_native.py +0 -0
|
@@ -51,6 +51,31 @@ the checksummed reference directory. The same object goes to isovar with the
|
|
|
51
51
|
tumour RNA alignment, and to topiary or vaxrank with an MHC predictor, wherever
|
|
52
52
|
those take a genome.
|
|
53
53
|
|
|
54
|
+
### Coding references by exact sequence
|
|
55
|
+
|
|
56
|
+
Isovar asks ORFdata for coding references by exact genome sequence, not through
|
|
57
|
+
a PyEnsembl genome. `viral_references()`, `viral_orfs()` and
|
|
58
|
+
`viral_panel_coverage()` read every installed collection as well as the bundled
|
|
59
|
+
HPV16 catalogue, so a collection installed with `orfdata data fetch` supplies
|
|
60
|
+
Isovar's viral models for every contig it holds. Only CDSs that translate
|
|
61
|
+
exactly to their source protein are offered; `viral_references()` says in each
|
|
62
|
+
reference's `scope` how many were left out, and they remain in the
|
|
63
|
+
transcriptome layer. Installed references carry no host or group until those are
|
|
64
|
+
curated, so `host=` and `group=` still select bundled references.
|
|
65
|
+
|
|
66
|
+
### Declaring the genome for vaxrank
|
|
67
|
+
|
|
68
|
+
A PyEnsembl genome over viral contigs has no species, so vaxrank cannot check it
|
|
69
|
+
against the analysis host. `viral_reference_context(references)` states it, for
|
|
70
|
+
the species the collection targets, and validates against `viral_genome()`:
|
|
71
|
+
|
|
72
|
+
```python
|
|
73
|
+
from orfdata import viral_genome, viral_reference_context
|
|
74
|
+
|
|
75
|
+
genome = viral_genome(references)
|
|
76
|
+
context = viral_reference_context(references) # Pass as vaxrank's reference_context.
|
|
77
|
+
```
|
|
78
|
+
|
|
54
79
|
Four things are worth knowing before the first run:
|
|
55
80
|
|
|
56
81
|
- **Contig names are the source `accession.version`**, such as `AY446894.2`,
|
|
@@ -101,6 +101,7 @@ from .viral_panel import (
|
|
|
101
101
|
select_viral_references,
|
|
102
102
|
viral_annotation_survey,
|
|
103
103
|
viral_genome,
|
|
104
|
+
viral_reference_context,
|
|
104
105
|
viral_reference_summary,
|
|
105
106
|
)
|
|
106
107
|
from .viral_registry import ViralCollection, viral_collection, viral_collections
|
|
@@ -117,6 +118,7 @@ __all__ = [
|
|
|
117
118
|
"viral_reference",
|
|
118
119
|
"viral_reference_sequence",
|
|
119
120
|
"viral_references",
|
|
121
|
+
"viral_reference_context",
|
|
120
122
|
"download_viral_inventory",
|
|
121
123
|
"viral_contexts",
|
|
122
124
|
"viral_panel_coverage",
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"""Write and read FASTA records the one way, so identifiers stay the first token."""
|
|
2
|
+
|
|
3
|
+
LINE_WIDTH = 80
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def write_fasta(stream, identifier, sequence, *, description=""):
|
|
7
|
+
"""Write one record; ``identifier`` is the lookup key tools read back."""
|
|
8
|
+
header = f"{identifier} {description}".rstrip()
|
|
9
|
+
stream.write(f">{header}\n")
|
|
10
|
+
for offset in range(0, len(sequence), LINE_WIDTH):
|
|
11
|
+
stream.write(f"{sequence[offset:offset + LINE_WIDTH]}\n")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def read_fasta(path, *, upper=False):
|
|
15
|
+
"""Every record of a FASTA file as ``{identifier: sequence}``, in file order.
|
|
16
|
+
|
|
17
|
+
The identifier is the first header token, as :func:`write_fasta` writes it.
|
|
18
|
+
A header without one, an identifier used twice, and sequence before the
|
|
19
|
+
first header are errors rather than silently dropped records. ``upper``
|
|
20
|
+
upper-cases each sequence as it is read.
|
|
21
|
+
"""
|
|
22
|
+
records, name, parts = {}, None, []
|
|
23
|
+
with open(path) as stream:
|
|
24
|
+
for number, line in enumerate(stream, 1):
|
|
25
|
+
if line.startswith(">"):
|
|
26
|
+
if name is not None:
|
|
27
|
+
records[name] = "".join(parts)
|
|
28
|
+
tokens = line[1:].split()
|
|
29
|
+
if not tokens:
|
|
30
|
+
raise ValueError(f"FASTA header without an identifier: {path}:{number}")
|
|
31
|
+
if tokens[0] in records:
|
|
32
|
+
raise ValueError(f"FASTA identifier repeated: {tokens[0]} in {path}")
|
|
33
|
+
name, parts = tokens[0], []
|
|
34
|
+
elif name is not None:
|
|
35
|
+
parts.append(line.strip().upper() if upper else line.strip())
|
|
36
|
+
elif line.strip():
|
|
37
|
+
raise ValueError(f"FASTA sequence before the first header: {path}:{number}")
|
|
38
|
+
if name is not None:
|
|
39
|
+
records[name] = "".join(parts)
|
|
40
|
+
return records
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Write coding transcripts as GTF, so other tools can read ORFdata's models.
|
|
1
|
+
"""Write coding transcripts as GTF, so other tools can read ORFdata's models, and read their exons back.
|
|
2
2
|
|
|
3
3
|
A transcript here is a sequence of genomic exon blocks in transcript order
|
|
4
4
|
plus the offset of its first codon. That is enough to emit the feature rows
|
|
@@ -10,6 +10,8 @@ Both producers use it: viral CDS features from source GenBank records, and
|
|
|
10
10
|
noncanonical ORFs from an :class:`~orfdata.ORFCatalog`.
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
|
+
import re
|
|
14
|
+
|
|
13
15
|
GTF_SOURCE = "orfdata"
|
|
14
16
|
_CODING = "protein_coding"
|
|
15
17
|
|
|
@@ -119,3 +121,38 @@ def orf_gtf_lines(records):
|
|
|
119
121
|
("orf_biotype", record.biotype),
|
|
120
122
|
("orf_source", getattr(record, "source", "") or ""))))
|
|
121
123
|
return tuple(lines)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
def read_exons(path):
|
|
127
|
+
"""Exon blocks of every transcript in a GTF, as ``{transcript_id: (blocks, strand)}``.
|
|
128
|
+
|
|
129
|
+
Blocks are ``(start, end)``, 1-based and inclusive, in transcript order as
|
|
130
|
+
``exon_number`` gives it (which is not coordinate order for a minus-strand
|
|
131
|
+
transcript or one joined across a circular origin). This reads back what
|
|
132
|
+
:func:`transcript_lines` writes.
|
|
133
|
+
"""
|
|
134
|
+
rows = {}
|
|
135
|
+
with open(path) as stream:
|
|
136
|
+
for number, line in enumerate(stream, 1):
|
|
137
|
+
if not line.strip() or line.startswith("#"):
|
|
138
|
+
continue
|
|
139
|
+
fields = line.rstrip("\n").split("\t")
|
|
140
|
+
if len(fields) != 9:
|
|
141
|
+
raise ValueError(f"GTF row without nine tab-separated fields: {path}:{number}")
|
|
142
|
+
if fields[2] != "exon":
|
|
143
|
+
continue
|
|
144
|
+
attributes = dict(re.findall(r'(\w+) "([^"]*)"', fields[8]))
|
|
145
|
+
try:
|
|
146
|
+
row = (int(attributes["exon_number"]), int(fields[3]), int(fields[4]), fields[6])
|
|
147
|
+
name = attributes["transcript_id"]
|
|
148
|
+
except (KeyError, ValueError):
|
|
149
|
+
raise ValueError(f"GTF exon without a readable transcript_id, exon_number "
|
|
150
|
+
f"and coordinates: {path}:{number}") from None
|
|
151
|
+
rows.setdefault(name, []).append(row)
|
|
152
|
+
exons = {}
|
|
153
|
+
for name, blocks in rows.items():
|
|
154
|
+
numbers = [block[0] for block in blocks]
|
|
155
|
+
if len(set(numbers)) != len(numbers) or len({block[3] for block in blocks}) != 1:
|
|
156
|
+
raise ValueError(f"GTF transcript {name} repeats an exon number or mixes strands: {path}")
|
|
157
|
+
exons[name] = (tuple((start, end) for _, start, end, _ in sorted(blocks)), blocks[0][3])
|
|
158
|
+
return exons
|
|
@@ -950,6 +950,10 @@ class _ViralInput:
|
|
|
950
950
|
def _viral_reference_input(reference: ViralReference) -> _ViralInput:
|
|
951
951
|
if not isinstance(reference, ViralReference):
|
|
952
952
|
raise TypeError("Expected a ViralReference")
|
|
953
|
+
if reference.bundle is not None:
|
|
954
|
+
raise ValueError(
|
|
955
|
+
f"{reference.id} comes from an installed collection, which records no source host "
|
|
956
|
+
"or source-record hash; Proteome viral layers take bundled references until #104")
|
|
953
957
|
proteins = ProteinSet(
|
|
954
958
|
name=f"{reference.virus_type}@{reference.id}",
|
|
955
959
|
proteins=tuple((orf.orf_id, orf.protein_sequence) for orf in reference.orfs),
|
|
@@ -982,7 +986,7 @@ def _viral_inputs(selection, host_taxon_id, *, host_taxon_ids=None, host_source=
|
|
|
982
986
|
if selection is None or selection is False:
|
|
983
987
|
return ()
|
|
984
988
|
if selection is True or selection == "all":
|
|
985
|
-
references = viral_references(host=host_taxon_id)
|
|
989
|
+
references = viral_references(host=host_taxon_id, installed=False)
|
|
986
990
|
if not references:
|
|
987
991
|
raise ValueError(f"No bundled viral references for host taxon {host_taxon_id}")
|
|
988
992
|
selection = _canonical_viral_references(references)
|
|
@@ -1017,9 +1021,9 @@ def _viral_inputs(selection, host_taxon_id, *, host_taxon_ids=None, host_source=
|
|
|
1017
1021
|
resolved.append(_viral_reference_input(item))
|
|
1018
1022
|
elif isinstance(item, str):
|
|
1019
1023
|
try:
|
|
1020
|
-
reference = viral_reference(item)
|
|
1024
|
+
reference = viral_reference(item, installed=False)
|
|
1021
1025
|
except ValueError:
|
|
1022
|
-
matches = viral_references(host=host_taxon_id, virus_type=item)
|
|
1026
|
+
matches = viral_references(host=host_taxon_id, virus_type=item, installed=False)
|
|
1023
1027
|
if not matches:
|
|
1024
1028
|
raise ValueError(f"No bundled viral reference ID or virus type matches {item!r} "
|
|
1025
1029
|
f"for host taxon {host_taxon_id}") from None
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.46.1"
|
|
@@ -52,20 +52,28 @@ class ViralReference:
|
|
|
52
52
|
products: tuple[ViralProduct, ...]
|
|
53
53
|
scope: str
|
|
54
54
|
catalogue_sha256: str
|
|
55
|
+
bundle: str | None = None # The installed collection this came from; None when bundled.
|
|
55
56
|
|
|
56
57
|
@cached_property
|
|
57
58
|
def dna(self):
|
|
58
59
|
"""Complete, checksum-verified forward FASTA bases for this reference."""
|
|
60
|
+
if self.bundle is not None:
|
|
61
|
+
from .viral_installed import installed_sequence
|
|
62
|
+
return installed_sequence(self)
|
|
59
63
|
return viral_reference_sequence(self.id)
|
|
60
64
|
|
|
61
65
|
@cached_property
|
|
62
66
|
def orfs(self):
|
|
63
67
|
"""Source-defined CDS paths placed on this exact reference."""
|
|
68
|
+
if self.bundle is not None:
|
|
69
|
+
from .viral_installed import installed_orfs
|
|
70
|
+
return installed_orfs(self)
|
|
64
71
|
return viral_orfs(reference_id=self.id)
|
|
65
72
|
|
|
66
73
|
def to_dict(self):
|
|
67
74
|
"""Return serializable metadata without loading DNA or ORF models."""
|
|
68
75
|
row = asdict(self)
|
|
76
|
+
row.pop("bundle") # A local path is not part of the reference's identity.
|
|
69
77
|
row["host_taxon_ids"] = list(self.host_taxon_ids)
|
|
70
78
|
row["products"] = list(row["products"])
|
|
71
79
|
row["virus"] = dict(group=row.pop("group"), type=row.pop("virus_type"),
|
|
@@ -103,9 +111,44 @@ def _reference(row, data):
|
|
|
103
111
|
scope=data["scope"], catalogue_sha256=_CATALOG_SHA256)
|
|
104
112
|
|
|
105
113
|
|
|
106
|
-
def
|
|
114
|
+
def _every_reference(installed, cache_root):
|
|
115
|
+
"""Bundled references, then those of installed collections the bundle does not already hold.
|
|
116
|
+
|
|
117
|
+
A collection's genome with the sequence of a bundled reference is that
|
|
118
|
+
reference, so it is listed once, as the bundled one. A different sequence
|
|
119
|
+
under a bundled ID would make the ID ambiguous, so that installed genome is
|
|
120
|
+
ignored with a warning, as is a collection that is damaged: bundled
|
|
121
|
+
lookups never fail because of what is installed.
|
|
122
|
+
"""
|
|
123
|
+
data = _catalog()
|
|
124
|
+
found = [_reference(row, data) for row in data["references"]]
|
|
125
|
+
if not installed:
|
|
126
|
+
return found
|
|
127
|
+
import warnings
|
|
128
|
+
|
|
129
|
+
from .viral_installed import installed_references
|
|
130
|
+
|
|
131
|
+
held = {item.sequence_sha256 for item in found}
|
|
132
|
+
taken = {item.id: item for item in found}
|
|
133
|
+
for item in installed_references(cache_root):
|
|
134
|
+
if item.sequence_sha256 in held:
|
|
135
|
+
continue
|
|
136
|
+
if item.id in taken:
|
|
137
|
+
warnings.warn(f"Ignoring installed viral reference {item.id!r}: the bundled catalogue "
|
|
138
|
+
f"already uses that ID for a different sequence ({item.bundle})",
|
|
139
|
+
stacklevel=3)
|
|
140
|
+
continue
|
|
141
|
+
held.add(item.sequence_sha256)
|
|
142
|
+
taken[item.id] = item
|
|
143
|
+
found.append(item)
|
|
144
|
+
return found
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
def viral_references(*, host=None, group=None, virus_type=None, installed=True, cache_root=None):
|
|
107
148
|
"""Find released viral references by documented host, group and type.
|
|
108
149
|
|
|
150
|
+
References of installed collections are listed after the bundled ones.
|
|
151
|
+
|
|
109
152
|
Parameters
|
|
110
153
|
----------
|
|
111
154
|
host : str or int, optional
|
|
@@ -115,6 +158,15 @@ def viral_references(*, host=None, group=None, virus_type=None):
|
|
|
115
158
|
Convenience group label, such as ``"HPV"``; not a taxonomy rank.
|
|
116
159
|
virus_type : str, optional
|
|
117
160
|
Named virus type, such as ``"HPV16"``; distinct from ICTV species.
|
|
161
|
+
installed : bool, default True
|
|
162
|
+
Also list the references of collections installed under ``cache_root``.
|
|
163
|
+
This reads local files only. An installed reference has a ``bundle``,
|
|
164
|
+
an empty ``group`` and ``ictv_species`` (a collection records neither),
|
|
165
|
+
and host associations only where its inventory states them, so
|
|
166
|
+
``host=`` and ``group=`` select bundled references until those are
|
|
167
|
+
curated (#104). Pass ``False`` for the bundled catalogue alone.
|
|
168
|
+
cache_root : path, optional
|
|
169
|
+
Where collections are installed; the default ORFdata cache otherwise.
|
|
118
170
|
|
|
119
171
|
Returns
|
|
120
172
|
-------
|
|
@@ -134,30 +186,34 @@ def viral_references(*, host=None, group=None, virus_type=None):
|
|
|
134
186
|
if any(value is not None and (not isinstance(value, str) or not value)
|
|
135
187
|
for value in (group, virus_type)):
|
|
136
188
|
raise ValueError("group and virus_type must be nonempty names")
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
and (group is None or row["virus"]["group"].casefold() == group.casefold())
|
|
142
|
-
and (virus_type is None or row["virus"]["type"].casefold() == virus_type.casefold()))
|
|
189
|
+
return tuple(item for item in _every_reference(installed, cache_root)
|
|
190
|
+
if (host_taxon_id is None or host_taxon_id in item.host_taxon_ids)
|
|
191
|
+
and (group is None or item.group.casefold() == group.casefold())
|
|
192
|
+
and (virus_type is None or item.virus_type.casefold() == virus_type.casefold()))
|
|
143
193
|
|
|
144
194
|
|
|
145
|
-
def viral_reference(reference_id):
|
|
146
|
-
"""Return one exact viral reference by stable ID, without positional selection.
|
|
147
|
-
|
|
148
|
-
|
|
195
|
+
def viral_reference(reference_id, *, installed=True, cache_root=None):
|
|
196
|
+
"""Return one exact viral reference by stable ID, without positional selection.
|
|
197
|
+
|
|
198
|
+
Installed collections are searched after the bundled catalogue; see
|
|
199
|
+
:func:`viral_references`.
|
|
200
|
+
"""
|
|
201
|
+
matches = [item for item in _every_reference(installed, cache_root) if item.id == reference_id]
|
|
149
202
|
if len(matches) != 1:
|
|
150
203
|
raise ValueError("No unique released viral reference ID matches this name")
|
|
151
|
-
return
|
|
204
|
+
return matches[0]
|
|
152
205
|
|
|
153
206
|
|
|
154
|
-
def viral_reference_sequence(reference_id):
|
|
155
|
-
"""Return
|
|
207
|
+
def viral_reference_sequence(reference_id, *, installed=True, cache_root=None):
|
|
208
|
+
"""Return checksum-verified reference bases for one exact ID.
|
|
156
209
|
|
|
157
210
|
The sequence uses the forward FASTA alphabet (T rather than U) and may
|
|
158
211
|
represent a virus whose biological genome is RNA. No network is accessed.
|
|
212
|
+
An ID not in the bundled catalogue is looked up in installed collections.
|
|
159
213
|
"""
|
|
160
214
|
matches = [row for row in _catalog()["references"] if row["id"] == reference_id]
|
|
215
|
+
if not matches and installed:
|
|
216
|
+
return viral_reference(reference_id, cache_root=cache_root).dna
|
|
161
217
|
if len(matches) != 1:
|
|
162
218
|
raise ValueError("No unique released viral reference ID matches this name")
|
|
163
219
|
row = matches[0]
|
|
@@ -168,7 +224,8 @@ def viral_reference_sequence(reference_id):
|
|
|
168
224
|
return sequence
|
|
169
225
|
|
|
170
226
|
|
|
171
|
-
def viral_orfs(reference_sequence=None, *, reference_id=None, contig=None
|
|
227
|
+
def viral_orfs(reference_sequence=None, *, reference_id=None, contig=None, installed=True,
|
|
228
|
+
cache_root=None):
|
|
172
229
|
"""Load source-defined CDSs for one exactly matching viral DNA reference.
|
|
173
230
|
|
|
174
231
|
Parameters
|
|
@@ -183,6 +240,14 @@ def viral_orfs(reference_sequence=None, *, reference_id=None, contig=None):
|
|
|
183
240
|
contig : str, optional
|
|
184
241
|
The caller's name for this exact DNA in an alignment reference. The
|
|
185
242
|
original versioned source identity remains on every ORF's context.
|
|
243
|
+
installed : bool, default True
|
|
244
|
+
Also match the references of collections installed under ``cache_root``
|
|
245
|
+
(see :func:`viral_references`). An installed collection offers a source
|
|
246
|
+
CDS as an ORF only when its annotation is complete, translation starts
|
|
247
|
+
at the first base and the source claims no recoding; the others stay in
|
|
248
|
+
its transcriptome layer. Local files only; nothing is downloaded.
|
|
249
|
+
cache_root : path, optional
|
|
250
|
+
Where collections are installed; the default ORFdata cache otherwise.
|
|
186
251
|
|
|
187
252
|
Returns
|
|
188
253
|
-------
|
|
@@ -200,12 +265,19 @@ def viral_orfs(reference_sequence=None, *, reference_id=None, contig=None):
|
|
|
200
265
|
"""
|
|
201
266
|
if (reference_sequence is None) == (reference_id is None):
|
|
202
267
|
raise ValueError("Provide exactly one of reference_sequence or reference_id")
|
|
203
|
-
sequence = (viral_reference_sequence(reference_id
|
|
204
|
-
else str(reference_sequence).upper())
|
|
268
|
+
sequence = (viral_reference_sequence(reference_id, installed=installed, cache_root=cache_root)
|
|
269
|
+
if reference_id is not None else str(reference_sequence).upper())
|
|
205
270
|
fingerprint = hashlib.sha256(sequence.encode("ascii")).hexdigest()
|
|
206
271
|
data = _catalog()
|
|
207
272
|
matches = [row for row in data["references"] if row["sequence_sha256"] == fingerprint
|
|
208
273
|
and row["length"] == len(sequence)]
|
|
274
|
+
if not matches and installed:
|
|
275
|
+
from .viral_installed import installed_orfs, installed_references
|
|
276
|
+
|
|
277
|
+
found = [item for item in installed_references(cache_root)
|
|
278
|
+
if item.sequence_sha256 == fingerprint and item.length == len(sequence)]
|
|
279
|
+
if len(found) == 1:
|
|
280
|
+
return installed_orfs(found[0], sequence=sequence, contig=contig)
|
|
209
281
|
if len(matches) != 1:
|
|
210
282
|
raise ValueError("No unique released viral coding reference matches this DNA; "
|
|
211
283
|
"inspect viral_references() for available sequence identities")
|
|
@@ -227,8 +227,8 @@ def _show_coverage(args, parser):
|
|
|
227
227
|
rows = viral_panel_coverage(
|
|
228
228
|
available=available, virus=args.virus, search=args.search,
|
|
229
229
|
contexts=args.context, exclude_contexts=args.exclude_context,
|
|
230
|
-
context_match=args.context_match)
|
|
231
|
-
all_rows = viral_panel_coverage()
|
|
230
|
+
context_match=args.context_match, installed=False)
|
|
231
|
+
all_rows = viral_panel_coverage(installed=False)
|
|
232
232
|
except ValueError as error:
|
|
233
233
|
parser.fail(error)
|
|
234
234
|
if args.format == "json":
|
|
@@ -17,9 +17,11 @@ column dtype meaning
|
|
|
17
17
|
``genbank`` str the GenBank accession the panel lists, or ``""``
|
|
18
18
|
``pave_id`` str the PaVE reference the panel lists, or ``""``
|
|
19
19
|
``pave_notes`` str the panel's own note about that PaVE reference
|
|
20
|
-
``bundled_reference_id`` str the
|
|
20
|
+
``bundled_reference_id`` str the coding reference ``viral_orfs(reference_id=...)``
|
|
21
|
+
loads for this row, or ``""``
|
|
21
22
|
``coding_models`` Int64 how many source CDS models that reference carries
|
|
22
|
-
``status`` str ``source_cds_bundled
|
|
23
|
+
``status`` str ``source_cds_bundled``, ``source_cds_installed``,
|
|
24
|
+
``installed_without_cds`` or ``not_bundled``
|
|
23
25
|
``available`` bool whether ``bundled_reference_id`` is set
|
|
24
26
|
``contexts`` object tuple of context names this row belongs to
|
|
25
27
|
======================== ====== ======================================================
|
|
@@ -149,7 +151,7 @@ def normalize_viral_contexts(contexts, *, allow_unknown=False):
|
|
|
149
151
|
|
|
150
152
|
def viral_panel_coverage(panel=None, *, collection=None, available=None, virus=None,
|
|
151
153
|
search=None, contexts=None, exclude_contexts=None,
|
|
152
|
-
context_match="any"):
|
|
154
|
+
context_match="any", installed=True, cache_root=None):
|
|
153
155
|
"""Every inventory row of one collection, named by panel or by collection.
|
|
154
156
|
|
|
155
157
|
Returns a frame whose columns are :data:`COVERAGE_COLUMNS`, described in
|
|
@@ -157,6 +159,13 @@ def viral_panel_coverage(panel=None, *, collection=None, available=None, virus=N
|
|
|
157
159
|
ORFdata. This is an inventory and coverage query, not a selection of
|
|
158
160
|
protein sequences. The released coding references are available separately
|
|
159
161
|
through ``viral_references()``.
|
|
162
|
+
|
|
163
|
+
With ``installed=True`` (the default) a row whose genome is in the
|
|
164
|
+
collection installed under ``cache_root`` reports that installed reference:
|
|
165
|
+
``source_cds_installed`` when it offers ORFs, ``installed_without_cds``
|
|
166
|
+
when its source annotates none the bundle can place. The lookup is local;
|
|
167
|
+
``installed=False`` gives the packaged ledger alone. A row the bundled
|
|
168
|
+
catalogue already covers stays ``source_cds_bundled``.
|
|
160
169
|
"""
|
|
161
170
|
chosen = _collection_for(panel, collection)
|
|
162
171
|
if available is not None and type(available) is not bool:
|
|
@@ -171,6 +180,22 @@ def viral_panel_coverage(panel=None, *, collection=None, available=None, virus=N
|
|
|
171
180
|
raise ValueError("context_match must be 'any' or 'all'")
|
|
172
181
|
|
|
173
182
|
frame = _coverage(chosen)
|
|
183
|
+
if installed:
|
|
184
|
+
from .viral_installed import installed_coverage
|
|
185
|
+
|
|
186
|
+
held = installed_coverage(chosen, cache_root)
|
|
187
|
+
if held:
|
|
188
|
+
frame = frame.copy()
|
|
189
|
+
for position, row in frame.iterrows():
|
|
190
|
+
if row["bundled_reference_id"] != "" or row["abbreviation"] not in held:
|
|
191
|
+
continue
|
|
192
|
+
genome_id, models = held[row["abbreviation"]]
|
|
193
|
+
frame.loc[position, "coding_models"] = models
|
|
194
|
+
frame.loc[position, "status"] = ("source_cds_installed" if models
|
|
195
|
+
else "installed_without_cds")
|
|
196
|
+
if models:
|
|
197
|
+
frame.loc[position, "bundled_reference_id"] = genome_id
|
|
198
|
+
frame.loc[position, "available"] = True
|
|
174
199
|
keep = pd.Series(True, index=frame.index)
|
|
175
200
|
if selected:
|
|
176
201
|
match = any if context_match == "any" else all
|