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.
Files changed (91) hide show
  1. {varcode-2.3.0/varcode.egg-info → varcode-2.3.1}/PKG-INFO +17 -2
  2. {varcode-2.3.0 → varcode-2.3.1}/README.md +16 -1
  3. {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_collection.py +6 -3
  4. varcode-2.3.1/varcode/version.py +1 -0
  5. {varcode-2.3.0 → varcode-2.3.1/varcode.egg-info}/PKG-INFO +17 -2
  6. varcode-2.3.0/varcode/version.py +0 -1
  7. {varcode-2.3.0 → varcode-2.3.1}/LICENSE +0 -0
  8. {varcode-2.3.0 → varcode-2.3.1}/MANIFEST.in +0 -0
  9. {varcode-2.3.0 → varcode-2.3.1}/pyproject.toml +0 -0
  10. {varcode-2.3.0 → varcode-2.3.1}/requirements.txt +0 -0
  11. {varcode-2.3.0 → varcode-2.3.1}/setup.cfg +0 -0
  12. {varcode-2.3.0 → varcode-2.3.1}/tests/__init__.py +0 -0
  13. {varcode-2.3.0 → varcode-2.3.1}/tests/benchmark_vcf_load.py +0 -0
  14. {varcode-2.3.0 → varcode-2.3.1}/tests/common.py +0 -0
  15. {varcode-2.3.0 → varcode-2.3.1}/tests/data.py +0 -0
  16. {varcode-2.3.0 → varcode-2.3.1}/tests/test_cli_effects.py +0 -0
  17. {varcode-2.3.0 → varcode-2.3.1}/tests/test_cli_genes.py +0 -0
  18. {varcode-2.3.0 → varcode-2.3.1}/tests/test_collection_filtering.py +0 -0
  19. {varcode-2.3.0 → varcode-2.3.1}/tests/test_collection_variants_attr_consistency.py +0 -0
  20. {varcode-2.3.0 → varcode-2.3.1}/tests/test_common.py +0 -0
  21. {varcode-2.3.0 → varcode-2.3.1}/tests/test_cosmic_mutations.py +0 -0
  22. {varcode-2.3.0 → varcode-2.3.1}/tests/test_csv_roundtrip.py +0 -0
  23. {varcode-2.3.0 → varcode-2.3.1}/tests/test_dbnsfp_validation.py +0 -0
  24. {varcode-2.3.0 → varcode-2.3.1}/tests/test_effect_annotation_errors.py +0 -0
  25. {varcode-2.3.0 → varcode-2.3.1}/tests/test_effect_classes.py +0 -0
  26. {varcode-2.3.0 → varcode-2.3.1}/tests/test_effect_collection.py +0 -0
  27. {varcode-2.3.0 → varcode-2.3.1}/tests/test_effect_collection_serialization.py +0 -0
  28. {varcode-2.3.0 → varcode-2.3.1}/tests/test_effect_collection_sort_order.py +0 -0
  29. {varcode-2.3.0 → varcode-2.3.1}/tests/test_effects_from_mutagenix_variants.py +0 -0
  30. {varcode-2.3.0 → varcode-2.3.1}/tests/test_exonic_splice_site.py +0 -0
  31. {varcode-2.3.0 → varcode-2.3.1}/tests/test_frameshift_helpers.py +0 -0
  32. {varcode-2.3.0 → varcode-2.3.1}/tests/test_genotype.py +0 -0
  33. {varcode-2.3.0 → varcode-2.3.1}/tests/test_genotype_from_vcf.py +0 -0
  34. {varcode-2.3.0 → varcode-2.3.1}/tests/test_maf.py +0 -0
  35. {varcode-2.3.0 → varcode-2.3.1}/tests/test_mm10_klf6_frameshift.py +0 -0
  36. {varcode-2.3.0 → varcode-2.3.1}/tests/test_mouse.py +0 -0
  37. {varcode-2.3.0 → varcode-2.3.1}/tests/test_mutate.py +0 -0
  38. {varcode-2.3.0 → varcode-2.3.1}/tests/test_no_duplicate_variants.py +0 -0
  39. {varcode-2.3.0 → varcode-2.3.1}/tests/test_premature_stop_short_description.py +0 -0
  40. {varcode-2.3.0 → varcode-2.3.1}/tests/test_problematic_variants.py +0 -0
  41. {varcode-2.3.0 → varcode-2.3.1}/tests/test_reference.py +0 -0
  42. {varcode-2.3.0 → varcode-2.3.1}/tests/test_reference_mismatch_error.py +0 -0
  43. {varcode-2.3.0 → varcode-2.3.1}/tests/test_silent_aa_pos.py +0 -0
  44. {varcode-2.3.0 → varcode-2.3.1}/tests/test_silent_hgvs_description.py +0 -0
  45. {varcode-2.3.0 → varcode-2.3.1}/tests/test_splice_site_effects.py +0 -0
  46. {varcode-2.3.0 → varcode-2.3.1}/tests/test_stop_codon_classification_bugs.py +0 -0
  47. {varcode-2.3.0 → varcode-2.3.1}/tests/test_string_helpers.py +0 -0
  48. {varcode-2.3.0 → varcode-2.3.1}/tests/test_symbolic_alleles.py +0 -0
  49. {varcode-2.3.0 → varcode-2.3.1}/tests/test_timings.py +0 -0
  50. {varcode-2.3.0 → varcode-2.3.1}/tests/test_variant.py +0 -0
  51. {varcode-2.3.0 → varcode-2.3.1}/tests/test_variant_collection.py +0 -0
  52. {varcode-2.3.0 → varcode-2.3.1}/tests/test_vcf.py +0 -0
  53. {varcode-2.3.0 → varcode-2.3.1}/tests/test_vcf_output.py +0 -0
  54. {varcode-2.3.0 → varcode-2.3.1}/varcode/__init__.py +0 -0
  55. {varcode-2.3.0 → varcode-2.3.1}/varcode/cli/__init__.py +0 -0
  56. {varcode-2.3.0 → varcode-2.3.1}/varcode/cli/effects_script.py +0 -0
  57. {varcode-2.3.0 → varcode-2.3.1}/varcode/cli/genes_script.py +0 -0
  58. {varcode-2.3.0 → varcode-2.3.1}/varcode/cli/logging.conf +0 -0
  59. {varcode-2.3.0 → varcode-2.3.1}/varcode/cli/variant_args.py +0 -0
  60. {varcode-2.3.0 → varcode-2.3.1}/varcode/cli/version_info.py +0 -0
  61. {varcode-2.3.0 → varcode-2.3.1}/varcode/common.py +0 -0
  62. {varcode-2.3.0 → varcode-2.3.1}/varcode/csv_helpers.py +0 -0
  63. {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/__init__.py +0 -0
  64. {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/common.py +0 -0
  65. {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_classes.py +0 -0
  66. {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_helpers.py +0 -0
  67. {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_ordering.py +0 -0
  68. {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_prediction.py +0 -0
  69. {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_prediction_coding.py +0 -0
  70. {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_prediction_coding_frameshift.py +0 -0
  71. {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/effect_prediction_coding_in_frame.py +0 -0
  72. {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/mutate.py +0 -0
  73. {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/transcript_helpers.py +0 -0
  74. {varcode-2.3.0 → varcode-2.3.1}/varcode/effects/translate.py +0 -0
  75. {varcode-2.3.0 → varcode-2.3.1}/varcode/errors.py +0 -0
  76. {varcode-2.3.0 → varcode-2.3.1}/varcode/genotype.py +0 -0
  77. {varcode-2.3.0 → varcode-2.3.1}/varcode/maf.py +0 -0
  78. {varcode-2.3.0 → varcode-2.3.1}/varcode/nucleotides.py +0 -0
  79. {varcode-2.3.0 → varcode-2.3.1}/varcode/reference.py +0 -0
  80. {varcode-2.3.0 → varcode-2.3.1}/varcode/string_helpers.py +0 -0
  81. {varcode-2.3.0 → varcode-2.3.1}/varcode/ucsc_reference_names.py +0 -0
  82. {varcode-2.3.0 → varcode-2.3.1}/varcode/util.py +0 -0
  83. {varcode-2.3.0 → varcode-2.3.1}/varcode/variant.py +0 -0
  84. {varcode-2.3.0 → varcode-2.3.1}/varcode/variant_collection.py +0 -0
  85. {varcode-2.3.0 → varcode-2.3.1}/varcode/vcf.py +0 -0
  86. {varcode-2.3.0 → varcode-2.3.1}/varcode/vcf_output.py +0 -0
  87. {varcode-2.3.0 → varcode-2.3.1}/varcode.egg-info/SOURCES.txt +0 -0
  88. {varcode-2.3.0 → varcode-2.3.1}/varcode.egg-info/dependency_links.txt +0 -0
  89. {varcode-2.3.0 → varcode-2.3.1}/varcode.egg-info/entry_points.txt +0 -0
  90. {varcode-2.3.0 → varcode-2.3.1}/varcode.egg-info/requires.txt +0 -0
  91. {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.0
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 dictionary mapping each transcript effect to an expression
264
- quantity. Effects that don't have an associated transcript
265
- (e.g. Intergenic) will not be included.
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.0
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
 
@@ -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