orfdata 0.53.0__tar.gz → 0.54.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.53.0/orfdata.egg-info → orfdata-0.54.0}/PKG-INFO +1 -1
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/catalogs.md +2 -1
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/cli-design.md +3 -1
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/cli.md +24 -3
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/proteome.md +3 -2
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/cli_output.py +42 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/command_parsers.py +7 -2
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/liftover_cli.py +8 -2
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/proteome_cli.py +14 -4
- orfdata-0.54.0/orfdata/version.py +1 -0
- {orfdata-0.53.0 → orfdata-0.54.0/orfdata.egg-info}/PKG-INFO +1 -1
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_cli_audit.py +6 -5
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_liftover.py +15 -4
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_proteome.py +39 -22
- orfdata-0.53.0/orfdata/version.py +0 -1
- {orfdata-0.53.0 → orfdata-0.54.0}/LICENSE +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/MANIFEST.in +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/deploy.sh +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/develop.sh +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/copy-yeast.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/coverage.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/dog-data-sources.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/dog-peptides.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/downloads.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/downstream.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/examples.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/human-tissue.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/index.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/ingolia-yeast.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/mammary-stroma.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/measurements.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/pairing.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/pfizer-peptides.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/pfizer-protein.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/pfizer-rna.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/reference.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/search-references.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/source-references.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/species.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/storage.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/stylesheets/docs.css +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs/viral.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/docs.sh +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/lint.sh +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/mkdocs.yml +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/__init__.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/_pinned_genome.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/_structure.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/artifact_archives.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/build.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/cache.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/catalog.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/catalog_cli.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/catalog_manifest.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/catalogs.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/cli.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/cli_parser.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/catalogs.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/chains.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/datasets.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/genomes/rcrs-ensembl115.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/genomes/rcrs-ensembl115.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/genomes/rcrs-ensembl115.pep.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/genomes.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/ires/rfam-15.1-human-ires.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/orf-evidence/AUTHOR-LICENSE.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/orf-evidence/NOTICE.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/orf-evidence/catalog.json.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/orf-evidence/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/source_records.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/uorf-evidence/AUTHOR-LICENSE.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/uorf-evidence/NOTICE.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/uorf-evidence/catalog.json.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/uorf-evidence/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/viral/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/viral/gdc-grch38-d1-vd1-coverage.tsv +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/viral/gdc-grch38-d1-vd1-genbank.tsv +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/viral/gdc-grch38-d1-vd1-pave.tsv +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/viral/hpv16-refseq-CDS.json.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data/viral/subsets.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/data_resources.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/dataset_cli.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/datasets.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/download_cli.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/downloads.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/ensembl.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/errors.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/evidence.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/evidence_summary.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/fasta.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/genbank.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/genomes.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/genomes_cli.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/gtf.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/initiation_context.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/install.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/liftover.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/measurements.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/model.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/net.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/numeric_vector.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/pairing.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/proteome.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/record_sources.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/reference.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/reference_ledger.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/reference_mapping.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/reference_table.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/refseq.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/rna.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/search_reference.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sequence.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/source_cds.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/source_records.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/__init__.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/copy.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/ingolia.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/kaabinejadian.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/mammary_stroma.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/ncorf_mammals.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/openprot.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/peptideatlas.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/pfizer.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/pfizer_attribution.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/pfizer_dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/pfizer_evidence.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/pfizer_lineage.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/pfizer_native.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/pfizer_queries.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/pfizer_rna.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/pfizer_vendor.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/riborf.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/riborf_native.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/sources/wang.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/viral.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/viral_annotation.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/viral_cli.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/viral_coverage.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/viral_installed.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/viral_panel.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/viral_registry.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata/viral_subsets.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata.egg-info/SOURCES.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata.egg-info/dependency_links.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata.egg-info/entry_points.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata.egg-info/requires.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/orfdata.egg-info/top_level.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/pyproject.toml +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/setup.cfg +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/test.sh +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/conftest.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/aggregate_evidence.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/GSM1905474.soft +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/GSM1905474_KL9_fpkm.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/GSM1905476.soft +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/GSM1905476_KL10_fpkm.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/GSM1905478.soft +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/GSM1905478_KL11_fpkm.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/GSM1905479.soft +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/GSM1905479_KL12_fpkm.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/geo-series.soft +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/methods.pdf +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/paper.xml +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/pmc-metadata.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/qconcat.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/copy/workbook.xlsx +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ensembl/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ensembl/gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ensembl/internal-stop/gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ensembl/internal-stop/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ensembl/internal-stop/ncrna.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ensembl/internal-stop/protein.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ensembl/internal-stop/rna.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ensembl/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ensembl/ncrna.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ensembl/protein.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ensembl/rna.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346111.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346111.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346114.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346114.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346115.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346115.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346116.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346116.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346117.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346117.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346118.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346118.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346120.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346120.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346122.metadata.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/GSM346122.quant.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ingolia/readMe.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/kaabinejadian/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/kaabinejadian/Results.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/kaabinejadian/manifest-v1.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/kaabinejadian/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/kaabinejadian/sdrf.tsv +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/mammary_stroma/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/mammary_stroma/geo.soft.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/mammary_stroma/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/mammary_stroma/paper.xml +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/mammary_stroma/peptides.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/mammary_stroma/project.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/mammary_stroma/proteinGroups.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/mammary_stroma/rna.csv.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ncorf_mammals/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ncorf_mammals/S3.xlsx +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ncorf_mammals/ensembl107.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ncorf_mammals/ensembl107.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ncorf_mammals/human-ensembl107.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ncorf_mammals/human.bed +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ncorf_mammals/human.pep.fa +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ncorf_mammals/mouse.bed +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/ncorf_mammals/mouse.pep.fa +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/openprot/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/openprot/ensembl106.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/openprot/ensembl106.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.bed.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.fasta.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/openprot/mouse-openprot-2_2-altprots+isoforms-min_2_pep-GRCm39.106.tsv.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/peptideatlas/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/peptideatlas/atlas_build.tsv.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/peptideatlas/ensembl.pep.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/peptideatlas/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/dog/expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/dog/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/dog/protein.tsv +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/dog/search.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/human/expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/human/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/human/protein.tsv +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/human/search.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/mouse/expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/mouse/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/mouse/protein.tsv +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/mouse/search.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/acquisition-missingness.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/definitions.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/dog-panel.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/membership-search-slice.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/memberships.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/native.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/parent-status-search-slice.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/parent-status.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/psm-parent-sets-search-slice.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/psm-parent-sets.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/search-slice.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/search-slice.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/study-slice.xml +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer/vendor/summary-samples.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer_rna/GSE325522_family.soft.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer_rna/GSE325523_family.soft.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer_rna/GSE325525_family.soft.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer_rna/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer_rna/counts.csv.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer_rna/dog-annotation.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer_rna/dog-expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer_rna/dog-manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer_rna/mouse-annotation.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer_rna/mouse-expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer_rna/mouse-manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/pfizer_rna/samples.xlsx +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/references/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/references/canis_lupus_familiaris.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/references/context-keys-v0.4.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/references/ensembl115.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/references/homo_sapiens.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/references/mitochondrial.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/references/mus_musculus.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/references/saccharomyces_cerevisiae.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/references/transcript_orf_v1_0.42.0.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/references/uniprot_literature.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/regions/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/regions/ingolia.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/SD3.xlsx +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/ensembl107.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/ensembl107.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/ensembl107.ncrna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/gencodeM25.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/gencodeM25.rna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/human-ensembl105.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/human-ensembl105.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/human-ensembl105.ncrna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/v3-manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/worm-ensembl105.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/worm-ensembl105.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/worm-ensembl105.ncrna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/yeast-ensembl115.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/yeast-ensembl115.dna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/yeast-ensembl115.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/zebrafish-ensembl115.cdna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/zebrafish-ensembl115.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/riborf/zebrafish-ensembl115.ncrna.fa.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/search_reference/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/search_reference/dog.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/search_reference/ensembl83-expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/search_reference/ensembl83-human.fasta.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/search_reference/expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/storage/README.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/storage/generate.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/storage/v1.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/storage/v1.sqlite +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/storage/v2.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/storage/v2.sqlite +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/storage/v3.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/storage/v3.sqlite +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/storage/v4.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/storage/v4.sqlite +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/t2t/GCA_009914755.2_T2T-CHM13v1.0_assembly_report.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/t2t/GCA_009914755.4_T2T-CHM13v2.0_assembly_report.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/t2t/NC_012920.1.fasta +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/t2t/hs1.chromAlias.txt +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/viral/GRCh83.d1.vd1_virus_decoy.txt.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/viral/NC_001526.4.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/viral/genbank/HBV__X04615.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/viral/genbank/HPV16__K02718.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/viral/genbank/HPV35__X74477.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/viral/genbank/HPV51__M62877.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/viral/genbank/HPV56__X74483.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/viral_records/AF033817.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/viral_records/AJ507799.2.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/viral_records/HPV16REF.json.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/viral_records/KC108721.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/viral_records/KF006398.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/viral_records/X04615.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/viral_records/X70828.1.gb.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/wang/NOTICE.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/wang/annotation.gtf.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/wang/copies.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/wang/expected.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/wang/manifest.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/wang/protein.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/wang/rna.zip +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/data/wang/search.fasta.gz +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_artifact_archives.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_bundle_readers.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_cache.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_catalog_registry.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_cli_dispatch.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_cli_options.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_copy.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_cross_reference_pairing.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_data_resources.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_dog_export_read_ahead.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_dog_peptides.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_downloads.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_ensembl.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_ensembl_search_reference.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_evidence_rules.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_evidence_summary.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_exit_statuses.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_export_sqlite_rows.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_extraction_budget.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_ftps_sqlite.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_full_collection.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_genbank.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_genbank_equivalence.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_genetic_codes.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_genomes.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_grch37_mitochondrion.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_ingolia.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_initiation_context.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_local_build_queries.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_mammary_stroma.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_measurements.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_merge_catalogs.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_more_species.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_ncorf_mammals.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_numeric_vector.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_openprot.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_orf_cases.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_orf_gtf.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_package_dog_dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_package_sqlite_archive.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_paired_selectors.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_pairing.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_pfizer.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_pfizer_attribution.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_pfizer_dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_pfizer_evidence.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_pfizer_lineage.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_pfizer_native.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_pfizer_rna.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_pfizer_vendor.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_protein_set.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_proteome_external.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_proteome_fasta_tokens.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_proteome_producer_graph.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_public_api.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_real_viral_records.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_reference_context.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_reference_ledger.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_reference_mapping.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_reference_orf.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_reference_table.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_refseq.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_region_targets.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_resume.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_riborf.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_search_reference.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_selectors.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_shared_protein_ids.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_source_cds.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_source_records.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_storage.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_tab_completion.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_transcript_orf_serialization.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_uorf_catalog.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_verify_dog_dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_viral.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_viral_bundle.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_viral_cli.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_viral_collections.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_viral_completeness.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_viral_coverage.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_viral_host_group.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_viral_initiation.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_viral_installed.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_viral_origin_join.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_viral_sources.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_viral_subsets.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tests/test_wang.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/README-dog-results.md +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/__init__.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/build_dog_dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/build_gdc_viral_coverage.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/build_hpv16_cds.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/build_rcrs_mitochondrion.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/build_reference_ledger.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/dog_result_plan.json +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/export_dog_lineage.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/export_dog_results.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/export_sqlite_rows.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/extraction_budget.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/ftps_sqlite.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/inspect_dog_results.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/normalize_dog_evidence.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/package_dog_dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/package_sqlite_archive.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/verify_dog_dataset.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/verify_mammary_stroma.py +0 -0
- {orfdata-0.53.0 → orfdata-0.54.0}/tools/verify_riborf_native.py +0 -0
|
@@ -529,7 +529,8 @@ orfdata lift --species human --to GRCh37 --output orfs-grch37.json.gz
|
|
|
529
529
|
```
|
|
530
530
|
|
|
531
531
|
`orfdata lift` writes the lifted catalogue and prints a summary to standard
|
|
532
|
-
error
|
|
532
|
+
error; `--json` prints the complete summary as JSON on standard output instead,
|
|
533
|
+
and `--summary FILE` writes that JSON to a file. `--catalog FILE` lifts a local catalogue instead, and `--chain FILE` uses
|
|
533
534
|
your own chain file instead of a downloaded pin. Pass the result back with
|
|
534
535
|
`--nc-orf-sources` for `orfdata proteome`; JSON and TSV exports include
|
|
535
536
|
each record's original and the chain. In Python:
|
|
@@ -24,7 +24,9 @@ draw on OpenVax's OncoRef inventory summaries and MHCtools' shared table formatt
|
|
|
24
24
|
- Human tables preview 25 rows; `--limit 0` shows all rows. Machine exports are
|
|
25
25
|
complete regardless of the preview limit. Wrapping is only for human output.
|
|
26
26
|
- Results go to stdout; progress and errors go to stderr. Proteome FASTA stays on
|
|
27
|
-
stdout and its build summary stays on stderr, as does the lift summary.
|
|
27
|
+
stdout and its human build summary stays on stderr, as does the lift summary.
|
|
28
|
+
Their `--json` summary goes to stdout like any other (`proteome` then requires
|
|
29
|
+
`--output`), and `--summary FILE` writes it to a file.
|
|
28
30
|
- Discovery and help never acquire resources. Downloads and builds require an
|
|
29
31
|
explicit acquisition command and continue to enforce source terms and pins.
|
|
30
32
|
- Errors identify the problem and return a status a script can branch on: 1 when
|
|
@@ -118,9 +118,30 @@ a nonzero status, or for 3 before installing what is missing.
|
|
|
118
118
|
|
|
119
119
|
Results and exports go to stdout. Progress and errors go to stderr. `data path`
|
|
120
120
|
and `viral inventory download` print a plain path by default. `proteome` writes
|
|
121
|
-
FASTA to stdout unless `--output` is supplied
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
FASTA to stdout unless `--output` is supplied, and `lift` writes its catalogue
|
|
122
|
+
to `--output`; each also prints a human summary on stderr. For the complete
|
|
123
|
+
summary as JSON:
|
|
124
|
+
|
|
125
|
+
```sh
|
|
126
|
+
orfdata lift --species human --to GRCh37 --output orfs.json.gz --json | jq .unmapped
|
|
127
|
+
orfdata proteome --species human --release 115 --output human.fa --json > summary.json
|
|
128
|
+
orfdata proteome --species human --release 115 --summary summary.json | gzip > human.fa.gz
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
`--json` writes the summary to stdout, as it does in every other command, and
|
|
132
|
+
replaces the human summary. `proteome --json` requires `--output`, since the
|
|
133
|
+
FASTA would otherwise share stdout; it exits 2 without it. `--summary FILE`
|
|
134
|
+
writes the same JSON document to a file and leaves both streams as they are, so
|
|
135
|
+
it also works while the FASTA is piped.
|
|
136
|
+
|
|
137
|
+
## Migrating scripts from 0.52 or earlier
|
|
138
|
+
|
|
139
|
+
Up to 0.52, `proteome --json` and `lift --json` wrote the JSON summary to
|
|
140
|
+
stderr. Scripts that read it from there (`2> summary.json`) should use
|
|
141
|
+
`--summary summary.json`, or read stdout: `lift ... --json > summary.json`,
|
|
142
|
+
and `proteome ... --output FILE --json > summary.json`. `proteome --json`
|
|
143
|
+
without `--output` is now a command-line mistake (exit 2) rather than FASTA on
|
|
144
|
+
stdout and JSON on stderr.
|
|
124
145
|
|
|
125
146
|
## Migrating scripts from 0.42 or 0.43
|
|
126
147
|
|
|
@@ -857,8 +857,9 @@ option for several specific viruses.
|
|
|
857
857
|
The FASTA goes to `--output` or
|
|
858
858
|
standard output; `--snapshot FILE` also saves a snapshot, and `--cache`
|
|
859
859
|
reuses or keeps the build in the cache; `--cache-root DIR` chooses the cache,
|
|
860
|
-
for catalogues as well as builds. A human summary goes to standard error
|
|
861
|
-
|
|
860
|
+
for catalogues as well as builds. A human summary goes to standard error. For the
|
|
861
|
+
complete JSON summary of layers, identity and excluded ORFs, add `--summary FILE`,
|
|
862
|
+
or `--json` with `--output` to get it on standard output.
|
|
862
863
|
|
|
863
864
|
## Not yet included
|
|
864
865
|
|
|
@@ -21,6 +21,48 @@ def print_json(payload, stream=None):
|
|
|
21
21
|
stream.write("\n")
|
|
22
22
|
|
|
23
23
|
|
|
24
|
+
def write_json(payload, path):
|
|
25
|
+
"""Write one machine-readable JSON document to a file.
|
|
26
|
+
|
|
27
|
+
Parameters
|
|
28
|
+
----------
|
|
29
|
+
payload : dict or list
|
|
30
|
+
The document; values JSON has no type for are written as strings.
|
|
31
|
+
path : str or Path
|
|
32
|
+
The file to create or replace.
|
|
33
|
+
"""
|
|
34
|
+
with open(path, "w", encoding="utf-8") as stream:
|
|
35
|
+
print_json(payload, stream=stream)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def print_run_summary(summary, *, json_output=False, path=None, human=None):
|
|
39
|
+
"""Report the summary of a command whose result is a file or a stream of records.
|
|
40
|
+
|
|
41
|
+
``proteome`` and ``lift`` write a FASTA or a catalogue, so their summary is
|
|
42
|
+
a second output. The complete summary goes to ``path`` when one is given,
|
|
43
|
+
and to standard output as JSON when ``json_output`` is set, as ``--json``
|
|
44
|
+
does in every other command. Otherwise a human summary goes to standard
|
|
45
|
+
error, which leaves standard output to the records.
|
|
46
|
+
|
|
47
|
+
Parameters
|
|
48
|
+
----------
|
|
49
|
+
summary : dict
|
|
50
|
+
The complete summary.
|
|
51
|
+
json_output : bool
|
|
52
|
+
Write the summary as one JSON document to standard output.
|
|
53
|
+
path : str or Path, optional
|
|
54
|
+
Also write the summary there as JSON.
|
|
55
|
+
human : dict, optional
|
|
56
|
+
What the human summary shows instead of ``summary``.
|
|
57
|
+
"""
|
|
58
|
+
if path is not None:
|
|
59
|
+
write_json(summary, path)
|
|
60
|
+
if json_output:
|
|
61
|
+
print_json(summary)
|
|
62
|
+
else:
|
|
63
|
+
print_fields(summary if human is None else human, stream=sys.stderr)
|
|
64
|
+
|
|
65
|
+
|
|
24
66
|
def _width():
|
|
25
67
|
return max(40, min(120, shutil.get_terminal_size(fallback=(100, 24)).columns))
|
|
26
68
|
|
|
@@ -572,7 +572,10 @@ def proteome_parser(prog=None):
|
|
|
572
572
|
parser.add_argument("--annotation", metavar="DIRECTORY",
|
|
573
573
|
help="Also write the ncORF models there as annotation.gtf with matching "
|
|
574
574
|
"transcripts.fasta and proteins.fasta, for PyEnsembl-based tools")
|
|
575
|
-
parser.add_argument("--
|
|
575
|
+
parser.add_argument("--summary", metavar="FILE", help="Also write the complete build summary there as JSON")
|
|
576
|
+
parser.add_argument("--json", action="store_true",
|
|
577
|
+
help="Write the complete build summary as JSON to standard output; requires --output, "
|
|
578
|
+
"which keeps the FASTA out of it")
|
|
576
579
|
return parser
|
|
577
580
|
|
|
578
581
|
|
|
@@ -737,7 +740,9 @@ def lift_parser(prog=None):
|
|
|
737
740
|
"ORFDATA_CACHE, OPENVAX_DATA_CACHE or the default")
|
|
738
741
|
parser.add_argument("--output", required=True, metavar="FILE",
|
|
739
742
|
help="Write the lifted catalogue here; gzipped when it ends in .gz")
|
|
740
|
-
parser.add_argument("--
|
|
743
|
+
parser.add_argument("--summary", metavar="FILE", help="Also write the complete lift summary there as JSON")
|
|
744
|
+
parser.add_argument("--json", action="store_true",
|
|
745
|
+
help="Write the complete lift summary as JSON to standard output")
|
|
741
746
|
return parser
|
|
742
747
|
|
|
743
748
|
|
|
@@ -4,10 +4,11 @@ import sys
|
|
|
4
4
|
from collections import Counter
|
|
5
5
|
from contextlib import redirect_stdout
|
|
6
6
|
from dataclasses import asdict
|
|
7
|
+
from pathlib import Path
|
|
7
8
|
|
|
8
9
|
from .catalog import load_catalog
|
|
9
10
|
from .catalogs import CatalogRegistry
|
|
10
|
-
from .cli_output import print_result
|
|
11
|
+
from .cli_output import print_result, print_run_summary
|
|
11
12
|
from .cli_parser import UsageError
|
|
12
13
|
from .command_parsers import chains_parser, lift_parser
|
|
13
14
|
from .liftover import (
|
|
@@ -27,6 +28,8 @@ def lift(argv=None, prog=None):
|
|
|
27
28
|
try:
|
|
28
29
|
if args.catalog and (args.species or args.genome_build):
|
|
29
30
|
raise UsageError("Pass --catalog or --species/--genome-build, not both")
|
|
31
|
+
if args.summary is not None and Path(args.summary).resolve() == Path(args.output).resolve():
|
|
32
|
+
raise UsageError("--summary and --output name the same file")
|
|
30
33
|
registry = CatalogRegistry(cache_root=args.cache_root) if args.cache_root else None
|
|
31
34
|
catalog = (load_catalog(args.catalog) if args.catalog
|
|
32
35
|
else load_catalog(species=args.species, genome_build=args.genome_build, registry=registry))
|
|
@@ -48,7 +51,10 @@ def lift(argv=None, prog=None):
|
|
|
48
51
|
chains=[dict(chain=h["chain"], sha256=h["sha256"], lifted=h["lifted"]) for h in hops],
|
|
49
52
|
records=len(catalog.records), lifted_records=len(lifted.records), unmapped=len(unmapped),
|
|
50
53
|
unmapped_reasons=dict(Counter(u["reason"] for u in unmapped)), output=args.output)
|
|
51
|
-
|
|
54
|
+
try:
|
|
55
|
+
print_run_summary(summary, json_output=args.json, path=args.summary)
|
|
56
|
+
except OSError as error:
|
|
57
|
+
parser.fail(error)
|
|
52
58
|
|
|
53
59
|
|
|
54
60
|
def require_terms(source_build, target_build, species, accept_terms):
|
|
@@ -5,7 +5,7 @@ from contextlib import redirect_stdout
|
|
|
5
5
|
from pathlib import Path
|
|
6
6
|
|
|
7
7
|
from .catalog import load_catalog
|
|
8
|
-
from .cli_output import
|
|
8
|
+
from .cli_output import print_run_summary
|
|
9
9
|
from .cli_parser import UsageError
|
|
10
10
|
from .command_parsers import proteome_parser
|
|
11
11
|
from .proteome import Proteome
|
|
@@ -26,6 +26,14 @@ def run(argv=None, prog=None, *, genome_loader=None):
|
|
|
26
26
|
raise UsageError("Pass --genome or --species and --release, not both")
|
|
27
27
|
if args.genome is None and (args.species is None or args.release is None):
|
|
28
28
|
raise UsageError("Pass --species and --release, or --genome")
|
|
29
|
+
if args.json and args.output is None:
|
|
30
|
+
raise UsageError("--json writes the summary to standard output, where the FASTA goes without --output: "
|
|
31
|
+
"add --output FILE, or use --summary FILE to keep the FASTA on standard output")
|
|
32
|
+
if args.summary is not None and any(
|
|
33
|
+
other is not None and Path(args.summary).resolve() == Path(other).resolve()
|
|
34
|
+
for other in (args.output, args.snapshot)
|
|
35
|
+
):
|
|
36
|
+
raise UsageError("--summary names the same file as --output or --snapshot")
|
|
29
37
|
names = [name.strip() for value in args.nc_orf_sources or ()
|
|
30
38
|
for name in ([value] if Path(value).is_file() else value.split(","))]
|
|
31
39
|
if not all(names):
|
|
@@ -60,7 +68,9 @@ def run(argv=None, prog=None, *, genome_loader=None):
|
|
|
60
68
|
for e in proteome.excluded]
|
|
61
69
|
if annotation is not None:
|
|
62
70
|
summary["annotation"] = annotation
|
|
63
|
-
|
|
64
|
-
summary =
|
|
65
|
-
|
|
71
|
+
try:
|
|
72
|
+
print_run_summary(summary, json_output=args.json, path=args.summary,
|
|
73
|
+
human=dict(output=args.output or "stdout (FASTA)", **summary))
|
|
74
|
+
except OSError as error:
|
|
75
|
+
parser.fail(error)
|
|
66
76
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.54.0"
|
|
@@ -189,7 +189,7 @@ def audit_cases(tmp_path, monkeypatch, paired, chain, pinned, genome, viral_pane
|
|
|
189
189
|
(("chains", "download"), chain_args),
|
|
190
190
|
(("lift",), ["--catalog", str(old_path), "--to", "GRCm39", "--chain", str(chain.path),
|
|
191
191
|
"--output", str(tmp_path / "lifted.json")]),
|
|
192
|
-
(("proteome",), ["--species", "mouse", "--release", "106"]),
|
|
192
|
+
(("proteome",), ["--species", "mouse", "--release", "106", "--output", str(tmp_path / "proteome.fa")]),
|
|
193
193
|
(("setup",), ["--species", "mouse", "--catalogs", name, "--collections", "none", "--accept-terms"]),
|
|
194
194
|
(("data", "list"), []),
|
|
195
195
|
(("data", "status"), []),
|
|
@@ -220,7 +220,8 @@ def test_every_command_executes_with_human_and_json_output(audit_cases, monkeypa
|
|
|
220
220
|
argv = [*path, *options, *(["--json"] if machine else [])]
|
|
221
221
|
invoke(argv)
|
|
222
222
|
captured = capsys.readouterr()
|
|
223
|
-
|
|
223
|
+
# lift and proteome write a file; their human summary is on stderr, their JSON on stdout.
|
|
224
|
+
output = captured.err if path in (("lift",), ("proteome",)) and not machine else captured.out
|
|
224
225
|
transcript.append("$ orfdata " + " ".join(argv) + "\n" + captured.out + captured.err)
|
|
225
226
|
save_transcript("commands.txt", transcript, tmp_path)
|
|
226
227
|
assert output.strip(), argv
|
|
@@ -237,10 +238,10 @@ def test_every_command_executes_with_human_and_json_output(audit_cases, monkeypa
|
|
|
237
238
|
assert "TPM" in output and "iBAQ" in output and "measured" in output
|
|
238
239
|
if path == ("datasets", "pairs"):
|
|
239
240
|
assert "same_material" in output and "concurrent" in output and "canonical_translation" in output
|
|
241
|
+
if path in (("proteome",), ("lift",)):
|
|
242
|
+
assert not (captured.err if machine else captured.out), argv
|
|
240
243
|
if path == ("proteome",):
|
|
241
|
-
assert
|
|
242
|
-
elif path == ("lift",):
|
|
243
|
-
assert not captured.out
|
|
244
|
+
assert (tmp_path / "proteome.fa").read_text().startswith(">")
|
|
244
245
|
|
|
245
246
|
|
|
246
247
|
@pytest.mark.parametrize("argv", [
|
|
@@ -281,7 +281,9 @@ def test_cli_lifts_with_a_chain_file_or_a_downloaded_pin(chain, pinned, tmp_path
|
|
|
281
281
|
old.save(source)
|
|
282
282
|
by_file, by_pin = tmp_path / "file.json.gz", tmp_path / "pin.json.gz"
|
|
283
283
|
run(["lift", "--catalog", str(source), "--to", "GRCm39", "--chain", str(chain.path), "--output", str(by_file), "--json"])
|
|
284
|
-
|
|
284
|
+
captured = capsys.readouterr()
|
|
285
|
+
summary = json.loads(captured.out) # Complete JSON on stdout, as --json is everywhere (#165).
|
|
286
|
+
assert not captured.err
|
|
285
287
|
assert (summary["records"], summary["lifted_records"], summary["unmapped"]) == (4, 4, 0)
|
|
286
288
|
assert summary["lifted"] == "orfdata-catalog:fixture-v1@GRCm39"
|
|
287
289
|
assert load_catalog(by_file).records == lift_catalog(old, chain).records
|
|
@@ -289,8 +291,17 @@ def test_cli_lifts_with_a_chain_file_or_a_downloaded_pin(chain, pinned, tmp_path
|
|
|
289
291
|
run(["chains", "--cache-root", cache, "download", "GRCm38", "GRCm39", "--source-path", str(chain.path),
|
|
290
292
|
"--accept-terms", "--json"])
|
|
291
293
|
assert json.loads(capsys.readouterr().out)["path"].endswith(chain.path.name)
|
|
292
|
-
run(["lift", "--catalog", str(source), "--to", "GRCm39", "--cache-root", cache, "--output", str(by_pin),
|
|
294
|
+
run(["lift", "--catalog", str(source), "--to", "GRCm39", "--cache-root", cache, "--output", str(by_pin),
|
|
295
|
+
"--summary", str(tmp_path / "summary.json")])
|
|
293
296
|
assert by_pin.read_bytes() == by_file.read_bytes()
|
|
297
|
+
captured = capsys.readouterr() # --summary keeps the human summary on stderr and stdout empty.
|
|
298
|
+
assert not captured.out and "lifted records: 4" in captured.err
|
|
299
|
+
assert json.loads((tmp_path / "summary.json").read_text()) == dict(summary, output=str(by_pin))
|
|
300
|
+
for same_summary in (str(by_pin), f"{by_pin.parent}/./{by_pin.name}"):
|
|
301
|
+
with pytest.raises(SystemExit) as error:
|
|
302
|
+
run(["lift", "--catalog", str(source), "--to", "GRCm39", "--cache-root", cache, "--output", str(by_pin),
|
|
303
|
+
"--summary", same_summary])
|
|
304
|
+
assert error.value.code == 2 and "name the same file" in capsys.readouterr().err
|
|
294
305
|
for options, message in ((["--species", "mouse"], "not both"),
|
|
295
306
|
(["--to", "GRCm40"], "No pinned chain files lift mus_musculus GRCm38 to GRCm40")):
|
|
296
307
|
argv = ["lift", "--catalog", str(source), "--to", "GRCm39", "--output", str(by_pin)]
|
|
@@ -502,13 +513,13 @@ def test_routes_take_the_fewest_hops_and_lift_through_each(chain, tmp_path, monk
|
|
|
502
513
|
source = tmp_path / "old.json"
|
|
503
514
|
old.save(source)
|
|
504
515
|
run(["lift", "--catalog", str(source), "--to", "GRCm40", "--output", str(tmp_path / "far.json"), "--json"])
|
|
505
|
-
summary = json.loads(capsys.readouterr().
|
|
516
|
+
summary = json.loads(capsys.readouterr().out)
|
|
506
517
|
assert [c["chain"] for c in summary["chains"]] == [chain.path.name, identity.name]
|
|
507
518
|
assert summary["lifted_records"] == 4 and load_catalog(tmp_path / "far.json").records == far.records
|
|
508
519
|
# Lifting a lifted file reports only this command's hops.
|
|
509
520
|
lift_catalog(old, chain).save(tmp_path / "mid.json")
|
|
510
521
|
run(["lift", "--catalog", str(tmp_path / "mid.json"), "--to", "GRCm40", "--output", str(tmp_path / "far2.json"), "--json"])
|
|
511
|
-
assert [c["chain"] for c in json.loads(capsys.readouterr().
|
|
522
|
+
assert [c["chain"] for c in json.loads(capsys.readouterr().out)["chains"]] == [identity.name]
|
|
512
523
|
|
|
513
524
|
|
|
514
525
|
def test_download_all_skips_restricted_chains_without_consent(pinned, capsys):
|
|
@@ -997,7 +997,7 @@ def test_cli_adds_bundled_viral_proteins_to_fasta(tmp_path, monkeypatch, capsys)
|
|
|
997
997
|
fasta = tmp_path / "combined.fa"
|
|
998
998
|
run(["proteome", "--species", "human", "--release", "1",
|
|
999
999
|
"--viral", "all", "--output", str(fasta), "--json"])
|
|
1000
|
-
assert json.loads(capsys.readouterr().
|
|
1000
|
+
assert json.loads(capsys.readouterr().out)["kinds"] == {"annotated": 3, "viral": 9}
|
|
1001
1001
|
assert fasta.read_text().count(">") == 12
|
|
1002
1002
|
assert "source=viral:HPV16@NC_001526.4" in fasta.read_text()
|
|
1003
1003
|
finally:
|
|
@@ -1035,43 +1035,58 @@ def test_cli_writes_fasta_and_reports_layers(genome, catalog, tmp_path, capsys,
|
|
|
1035
1035
|
output = tmp_path / "proteome.fa"
|
|
1036
1036
|
command = ["proteome", "--species", "mouse", "--release", "1"]
|
|
1037
1037
|
run(command + ["--nc-orf-sources", str(path), "--output", str(output)] + ["--json"])
|
|
1038
|
-
|
|
1038
|
+
captured = capsys.readouterr()
|
|
1039
|
+
summary = json.loads(captured.out) # Complete JSON on stdout, as --json is everywhere (#165).
|
|
1040
|
+
assert not captured.err
|
|
1039
1041
|
assert summary["kinds"] == {"annotated": 3, "extra_orf": 3}
|
|
1040
1042
|
assert [e["orf_id"] for e in summary["excluded_orfs"]] == ["changed-orf"]
|
|
1041
1043
|
assert output.read_text().count(">") == 6
|
|
1042
|
-
|
|
1044
|
+
# FASTA on stdout: --json would collide with it, so --summary FILE carries the same document.
|
|
1045
|
+
summary_args = ["--summary", str(tmp_path / "summary.json")]
|
|
1046
|
+
run(command + ["--nc-orf-sources", str(path), "--no-reference-cds"] + summary_args)
|
|
1047
|
+
captured = capsys.readouterr()
|
|
1048
|
+
assert captured.out.count(">") == 3 and json.loads((tmp_path / "summary.json").read_text())["kinds"] == {"extra_orf": 3}
|
|
1049
|
+
assert "output: stdout (FASTA)" in captured.err and "{" not in captured.out
|
|
1050
|
+
with pytest.raises(SystemExit) as error:
|
|
1051
|
+
run(command + ["--nc-orf-sources", str(path), "--json"])
|
|
1043
1052
|
captured = capsys.readouterr()
|
|
1044
|
-
assert
|
|
1045
|
-
|
|
1053
|
+
assert error.value.code == 2 and not captured.out
|
|
1054
|
+
assert "add --output FILE, or use --summary FILE" in captured.err
|
|
1055
|
+
for same_summary in (str(output), f"{output.parent}/./{output.name}"):
|
|
1056
|
+
with pytest.raises(SystemExit) as error:
|
|
1057
|
+
run(command + ["--output", str(output), "--summary", same_summary])
|
|
1058
|
+
assert error.value.code == 2 and "--summary names the same file" in capsys.readouterr().err
|
|
1059
|
+
run(command + ["--nc-orf-sources", str(path), "--no-reference-cds", "--min-protein-length", "3"] + summary_args)
|
|
1046
1060
|
captured = capsys.readouterr()
|
|
1047
|
-
selected = json.loads(
|
|
1061
|
+
selected = json.loads((tmp_path / "summary.json").read_text())
|
|
1048
1062
|
assert captured.out.count(">") == 2 and selected["kinds"] == {"extra_orf": 2}
|
|
1049
1063
|
assert selected["layers"][-1]["length_filtered"] == 1
|
|
1050
1064
|
snapshot = tmp_path / "proteome.json.gz"
|
|
1051
|
-
run(command + ["--nc-orf-sources", str(path), "--snapshot", str(snapshot)] +
|
|
1052
|
-
assert Proteome.load(snapshot).identity == json.loads(
|
|
1053
|
-
|
|
1065
|
+
run(command + ["--nc-orf-sources", str(path), "--snapshot", str(snapshot)] + summary_args)
|
|
1066
|
+
assert Proteome.load(snapshot).identity == json.loads((tmp_path / "summary.json").read_text())["identity"]
|
|
1067
|
+
capsys.readouterr()
|
|
1068
|
+
run(command + summary_args)
|
|
1054
1069
|
captured = capsys.readouterr()
|
|
1055
|
-
assert captured.out.count(">") == 3 and json.loads(
|
|
1070
|
+
assert captured.out.count(">") == 3 and json.loads((tmp_path / "summary.json").read_text())["kinds"] == {"annotated": 3}
|
|
1056
1071
|
with pytest.raises(SystemExit):
|
|
1057
|
-
run(command + ["--nc-orf-sources", "ms"]
|
|
1072
|
+
run(command + ["--nc-orf-sources", "ms"]) # Required dataset isn't installed.
|
|
1058
1073
|
assert "openprot-mouse 2.2-1 catalogue, which is not installed" in capsys.readouterr().err
|
|
1059
1074
|
for old in ("--catalogs", "--catalog", "--nc-orfs", "--nc-orf-evidence", "--extra-orf-evidence"):
|
|
1060
1075
|
with pytest.raises(SystemExit):
|
|
1061
|
-
run(command + [old, "all"]
|
|
1076
|
+
run(command + [old, "all"])
|
|
1062
1077
|
assert "unrecognized arguments" in capsys.readouterr().err
|
|
1063
1078
|
for sources in ("", ",", "ms,"):
|
|
1064
1079
|
with pytest.raises(SystemExit):
|
|
1065
|
-
run(command + ["--nc-orf-sources", sources]
|
|
1080
|
+
run(command + ["--nc-orf-sources", sources])
|
|
1066
1081
|
assert "requires nonempty" in capsys.readouterr().err
|
|
1067
1082
|
with pytest.raises(SystemExit):
|
|
1068
|
-
run(command + ["--no-reference-cds"]
|
|
1083
|
+
run(command + ["--no-reference-cds"])
|
|
1069
1084
|
assert "No protein layers selected" in capsys.readouterr().err
|
|
1070
1085
|
monkeypatch.setattr("orfdata.proteome.load_catalog", lambda **kw: catalog)
|
|
1071
1086
|
for args in (["--nc-orf-sources", "ms,ribosome"],
|
|
1072
1087
|
["--nc-orf-sources", "ms", "--nc-orf-sources", "ribosome"]):
|
|
1073
|
-
run(command + args +
|
|
1074
|
-
assert json.loads(
|
|
1088
|
+
run(command + args + summary_args)
|
|
1089
|
+
assert json.loads((tmp_path / "summary.json").read_text())["kinds"] == {"annotated": 3, "extra_orf": 3}
|
|
1075
1090
|
|
|
1076
1091
|
|
|
1077
1092
|
def test_cli_longest_isoform_selection(tmp_path, monkeypatch, capsys):
|
|
@@ -1080,10 +1095,11 @@ def test_cli_longest_isoform_selection(tmp_path, monkeypatch, capsys):
|
|
|
1080
1095
|
genome = write_genome(tmp_path / "isoforms", twin=True, fragment=True)
|
|
1081
1096
|
try:
|
|
1082
1097
|
monkeypatch.setattr(proteome_cli, "_ensembl_genome", lambda release, species: genome)
|
|
1083
|
-
run(["proteome", "--species", "mouse", "--release", "1", "--isoforms", "longest",
|
|
1098
|
+
run(["proteome", "--species", "mouse", "--release", "1", "--isoforms", "longest",
|
|
1099
|
+
"--summary", str(tmp_path / "summary.json")])
|
|
1084
1100
|
captured = capsys.readouterr()
|
|
1085
1101
|
assert captured.out.count(">") == 3 and "twin_protein" not in captured.out
|
|
1086
|
-
assert json.loads(
|
|
1102
|
+
assert json.loads((tmp_path / "summary.json").read_text())["layers"][0]["isoforms"] == "longest"
|
|
1087
1103
|
finally:
|
|
1088
1104
|
genome.close()
|
|
1089
1105
|
|
|
@@ -1109,10 +1125,11 @@ def test_build_reuses_an_identical_cached_proteome(genome, catalog, tmp_path, mo
|
|
|
1109
1125
|
path.write_text(json.dumps(catalog.to_dict()))
|
|
1110
1126
|
command = ["proteome", "--species", "mouse", "--release", "1", "--nc-orf-sources", "ms", "--cache",
|
|
1111
1127
|
"--cache-root", str(tmp_path)]
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1128
|
+
command += ["--summary", str(tmp_path / "summary.json")]
|
|
1129
|
+
run(command)
|
|
1130
|
+
first = json.loads((tmp_path / "summary.json").read_text())["identity"]
|
|
1131
|
+
run(command)
|
|
1132
|
+
assert json.loads((tmp_path / "summary.json").read_text())["identity"] == first == built.identity and calls == [1, 1]
|
|
1116
1133
|
|
|
1117
1134
|
|
|
1118
1135
|
def test_cache_keys_viral_layers_and_annotation_files(genome, catalog, tmp_path, monkeypatch):
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.53.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|