varcode 2.3.0__tar.gz → 2.3.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.
- {varcode-2.3.0/varcode.egg-info → varcode-2.3.1}/PKG-INFO +17 -2
- {varcode-2.3.0 → varcode-2.3.1}/README.md +16 -1
- {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_collection.py +6 -3
- varcode-2.3.1/varcode/version.py +1 -0
- {varcode-2.3.0 → varcode-2.3.1/varcode.egg-info}/PKG-INFO +17 -2
- varcode-2.3.0/varcode/version.py +0 -1
- {varcode-2.3.0 → varcode-2.3.1}/LICENSE +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/MANIFEST.in +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/pyproject.toml +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/requirements.txt +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/setup.cfg +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/__init__.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/benchmark_vcf_load.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/common.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/data.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_cli_effects.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_cli_genes.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_collection_filtering.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_collection_variants_attr_consistency.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_common.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_cosmic_mutations.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_csv_roundtrip.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_dbnsfp_validation.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_effect_annotation_errors.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_effect_classes.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_effect_collection.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_effect_collection_serialization.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_effect_collection_sort_order.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_effects_from_mutagenix_variants.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_exonic_splice_site.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_frameshift_helpers.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_genotype.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_genotype_from_vcf.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_maf.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_mm10_klf6_frameshift.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_mouse.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_mutate.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_no_duplicate_variants.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_premature_stop_short_description.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_problematic_variants.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_reference.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_reference_mismatch_error.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_silent_aa_pos.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_silent_hgvs_description.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_splice_site_effects.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_stop_codon_classification_bugs.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_string_helpers.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_symbolic_alleles.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_timings.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_variant.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_variant_collection.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_vcf.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/tests/test_vcf_output.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/__init__.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/cli/__init__.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/cli/effects_script.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/cli/genes_script.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/cli/logging.conf +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/cli/variant_args.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/cli/version_info.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/common.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/csv_helpers.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/__init__.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/common.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_classes.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_helpers.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_ordering.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_prediction.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_prediction_coding.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_prediction_coding_frameshift.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_prediction_coding_in_frame.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/mutate.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/transcript_helpers.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/translate.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/errors.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/genotype.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/maf.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/nucleotides.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/reference.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/string_helpers.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/ucsc_reference_names.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/util.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/variant.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/variant_collection.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/vcf.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode/vcf_output.py +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode.egg-info/SOURCES.txt +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode.egg-info/dependency_links.txt +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode.egg-info/entry_points.txt +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode.egg-info/requires.txt +0 -0
- {varcode-2.3.0 → varcode-2.3.1}/varcode.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: varcode
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.1
|
|
4
4
|
Summary: Variant annotation in Python
|
|
5
5
|
Author-email: Alex Rubinsteyn <alex.rubinsteyn@unc.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/openvax/varcode
|
|
@@ -106,7 +106,22 @@ print(premature_stop_effect.gene.name)
|
|
|
106
106
|
### 'TP53'
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
-
If you are looking for a quick start guide, you can check out [this iPython book](./examples/varcode-quick_start.ipynb) that demonstrates simple use cases of Varcode
|
|
109
|
+
If you are looking for a quick start guide, you can check out [this iPython book](./examples/varcode-quick_start.ipynb) that demonstrates simple use cases of Varcode.
|
|
110
|
+
|
|
111
|
+
## Further reading
|
|
112
|
+
|
|
113
|
+
Feature guides live in [`docs/`](./docs/):
|
|
114
|
+
|
|
115
|
+
- [**Genotypes and sample-aware queries**](./docs/genotype.md) — per-sample
|
|
116
|
+
zygosity on multi-sample VCFs (`Genotype`, `Zygosity`, `VariantCollection.for_sample`,
|
|
117
|
+
`.heterozygous_in`, `.homozygous_alt_in`). New in 2.3.
|
|
118
|
+
- [**CSV round-trip and metadata headers**](./docs/csv.md) — `to_csv` /
|
|
119
|
+
`from_csv` on both collection types, with `#`-prefixed provenance
|
|
120
|
+
headers. New in 2.1, refined in 2.2.
|
|
121
|
+
- [**Error handling**](./docs/errors.md) — `ReferenceMismatchError`,
|
|
122
|
+
`SampleNotFoundError`, and the `raise_on_error=False` escape hatch.
|
|
123
|
+
|
|
124
|
+
See [`CHANGELOG.md`](./CHANGELOG.md) for the release history.
|
|
110
125
|
|
|
111
126
|
## Effect Types
|
|
112
127
|
|
|
@@ -79,7 +79,22 @@ print(premature_stop_effect.gene.name)
|
|
|
79
79
|
### 'TP53'
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
-
If you are looking for a quick start guide, you can check out [this iPython book](./examples/varcode-quick_start.ipynb) that demonstrates simple use cases of Varcode
|
|
82
|
+
If you are looking for a quick start guide, you can check out [this iPython book](./examples/varcode-quick_start.ipynb) that demonstrates simple use cases of Varcode.
|
|
83
|
+
|
|
84
|
+
## Further reading
|
|
85
|
+
|
|
86
|
+
Feature guides live in [`docs/`](./docs/):
|
|
87
|
+
|
|
88
|
+
- [**Genotypes and sample-aware queries**](./docs/genotype.md) — per-sample
|
|
89
|
+
zygosity on multi-sample VCFs (`Genotype`, `Zygosity`, `VariantCollection.for_sample`,
|
|
90
|
+
`.heterozygous_in`, `.homozygous_alt_in`). New in 2.3.
|
|
91
|
+
- [**CSV round-trip and metadata headers**](./docs/csv.md) — `to_csv` /
|
|
92
|
+
`from_csv` on both collection types, with `#`-prefixed provenance
|
|
93
|
+
headers. New in 2.1, refined in 2.2.
|
|
94
|
+
- [**Error handling**](./docs/errors.md) — `ReferenceMismatchError`,
|
|
95
|
+
`SampleNotFoundError`, and the `raise_on_error=False` escape hatch.
|
|
96
|
+
|
|
97
|
+
See [`CHANGELOG.md`](./CHANGELOG.md) for the release history.
|
|
83
98
|
|
|
84
99
|
## Effect Types
|
|
85
100
|
|
|
@@ -260,9 +260,12 @@ class EffectCollection(Collection):
|
|
|
260
260
|
Dictionary mapping transcript IDs to length-normalized expression
|
|
261
261
|
levels (either FPKM or TPM)
|
|
262
262
|
|
|
263
|
-
Returns
|
|
264
|
-
|
|
265
|
-
|
|
263
|
+
Returns
|
|
264
|
+
-------
|
|
265
|
+
OrderedDict
|
|
266
|
+
Mapping from each transcript effect to an expression quantity.
|
|
267
|
+
Effects that don't have an associated transcript (e.g. Intergenic)
|
|
268
|
+
are excluded.
|
|
266
269
|
"""
|
|
267
270
|
return OrderedDict(
|
|
268
271
|
(effect, expression_levels.get(effect.transcript.id, 0.0))
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.3.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: varcode
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.1
|
|
4
4
|
Summary: Variant annotation in Python
|
|
5
5
|
Author-email: Alex Rubinsteyn <alex.rubinsteyn@unc.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/openvax/varcode
|
|
@@ -106,7 +106,22 @@ print(premature_stop_effect.gene.name)
|
|
|
106
106
|
### 'TP53'
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
-
If you are looking for a quick start guide, you can check out [this iPython book](./examples/varcode-quick_start.ipynb) that demonstrates simple use cases of Varcode
|
|
109
|
+
If you are looking for a quick start guide, you can check out [this iPython book](./examples/varcode-quick_start.ipynb) that demonstrates simple use cases of Varcode.
|
|
110
|
+
|
|
111
|
+
## Further reading
|
|
112
|
+
|
|
113
|
+
Feature guides live in [`docs/`](./docs/):
|
|
114
|
+
|
|
115
|
+
- [**Genotypes and sample-aware queries**](./docs/genotype.md) — per-sample
|
|
116
|
+
zygosity on multi-sample VCFs (`Genotype`, `Zygosity`, `VariantCollection.for_sample`,
|
|
117
|
+
`.heterozygous_in`, `.homozygous_alt_in`). New in 2.3.
|
|
118
|
+
- [**CSV round-trip and metadata headers**](./docs/csv.md) — `to_csv` /
|
|
119
|
+
`from_csv` on both collection types, with `#`-prefixed provenance
|
|
120
|
+
headers. New in 2.1, refined in 2.2.
|
|
121
|
+
- [**Error handling**](./docs/errors.md) — `ReferenceMismatchError`,
|
|
122
|
+
`SampleNotFoundError`, and the `raise_on_error=False` escape hatch.
|
|
123
|
+
|
|
124
|
+
See [`CHANGELOG.md`](./CHANGELOG.md) for the release history.
|
|
110
125
|
|
|
111
126
|
## Effect Types
|
|
112
127
|
|
varcode-2.3.0/varcode/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.3.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
|
|
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
|