0.11.0 - 2024-01-22
We fixed the varity.vcf-to-hgvs
implementation. It is confusing to throw the
exception in vcf-variant->protein-hgvs
when a variant overlaps the exon-intron
boundaries, even if coding DNA HGVS is available. So we changed the behavior to
return protein HGVS as nil
.
- Return protein HGVS as
nil
if a variant overlaps exon-intron boundaries. #89
0.10.1 - 2024-01-15
- Add conditional branch of unaffected stop codon to protein-extension. #86
0.10.0 - 2023-12-27
We introduced enhancements to the description of protein changes by
varity.vcf-to-hgvs
, specifically making deletions more clinically meaningful:
- exon-intron boundary deletions:
The deletion that overlaps the exon-intron boundary will trigger an Exception because alterations affecting the splice sites are predicted to be splicing abnormalities.
- stop codon deletions:
In cases where deletions contain a stop codon, varity.vcf-to-hgvs
generates
the following outputs based on the alteration sequence:
- If the alteration sequence contains a stop codon, varity outputs as deletion-insertion.
- Otherwise, this outputs
p.?
.
- Fix upstream and downstream sequence of sequence-info and delins process. #81
- Fix boundary of exon/intron determining process. #82
0.9.3 - 2023-07-03
- Fix 3'-rule errors for certain sequence patterns. #75
- Fix overlapping condition of boundary of exon/intron. #77
0.9.2 - 2023-02-08
- Fix the 3’ rule on a trailing sub-sequence. #63
- Fix conditional branch of frameshift caused by insertion. #65
- Fix the position of first amino acid changed by the frame shift. #66
- Fix VCF to protein HGVS conversions of insertions near splice sites. #68
0.9.1 - 2022-10-11
- Feature to filter out refgene index source. #61
- Fix frameshift conversion failure. #59
0.9.0 - 2022-07-31
The default value of :prefer-deletion?
option is changed to false
.
(require '[varity.vcf-to-hgvs :as v2h])
(v2h/vcf-variant->coding-dna-hgvs {:chr "chr7", :pos 140924774, :ref "GGGAGGC", :alt "G"}
"path/to/hg38.fa" "path/to/refGene.txt.gz")
;;=> (#clj-hgvs/hgvs "NM_004333:c.-95GCCTCC[3]")
If you hope the previous behavior, specify :prefer-deletion? true
.
(v2h/vcf-variant->coding-dna-hgvs {:chr "chr7", :pos 140924774, :ref "GGGAGGC", :alt "G"}
"path/to/hg38.fa" "path/to/refGene.txt.gz"
{:prefer-deletion? true})
;;=> (#clj-hgvs/hgvs "NM_004333:c.-77_-72delGCCTCC")
- Annotate fusion genes. #52
- Logging liftover failure caused by different refs. #48
- Change the default
:prefer-deletion?
tofalse
. #56
- Fix the performance of liftover-variants. #47
- Fix alt exon calculation for deletion. #50
- Tweak GENCODE loading performance. #55
0.8.0 - 2021-11-15
- Compatible with GENCODE's GTF and GFF3 format. #42
0.7.1 - 2021-06-22
- Fix reference protein seq in fs-ter-substitution. #40
0.7.0 - 2021-01-12
- Add support for vcf lift-over. #35
- Seek intron, 3'-UTR, and 5'-UTR regions from genomic position. #36
- Update clj-hgvs to 0.4.4.
- Error handling in conversion of an invalid coordinate. #37
0.6.2 - 2020-07-06
- Update dependencies:
- clj-hgvs 0.4.3
- cljam 0.8.0
- commons-compress 1.20
- tools.logging 1.1.0
- Pass nil to cds-end if cds-start equals cds-end in vcf-to-hgvs. #34
0.6.1 - 2020-02-19
- Support repeated sequences caused by deletion on VCF->HGVS. #30
- Support conversion from repeated sequences to VCF deletion. #31
- Add prefer-insertion? option to VCF->HGVS. #32
- Add function for finding alternative HGVS expressions. #33
- Fix conversion from reverse-strand repeated sequences to VCF variant. #29
0.6.0 - 2019-12-06
- cdna is renamed to coding-dna to avoid misunderstanding. See #28 for more information.
- namespace:
varity.hgvs-to-vcf.cdna
→varity.hgvs-to-vcf.coding-dna
varity.vcf-to-hgvs.cdna
→varity.vcf-to-hgvs.coding-dna
- function:
- e.g.
cdna-hgvs->vcf-variants
→coding-dna-hgvs->vcf-variants
- e.g.
- return:
{:cdna ...}
→{:coding-dna ...}
- namespace:
- Rename cdna to coding-dna. #28
- Update dependencies:
- clj-hgvs 0.4.0
- cljam 0.7.4
- commons-compress 1.19
- tools.logging 0.5.0
0.5.1 - 2019-07-12
- Include MNVs in protein HGVS -> VCF conversion results. #26
- Throw ex-info on hgvs->vcf for a variant containing ambiguous coordinates. #27
- Update dependencies:
- clj-hgvs 0.3.1
- cljam 0.7.2
- proton 0.1.8
- Remove incorrect VCF variants from protein HGVS to VCF variants conversion results. #25
0.5.0 - 2019-01-29
clj-hgvs 0.3.0 requires clojure 1.9+ because it uses clojure.spec for HGVS validation. To use varity with clojure 1.8, you must include a dependency on clojure-future-spec.
- Fix pos of hgvs->vcf-variants for genes on reverse strand. #24
0.4.2 - 2018-11-20
- Use ex-info for varity specific exception. #20
- Fix normalization of a variant containing long ref (strand: +). #21
0.4.1 - 2018-11-04
- Add debug printing option. #19
- Fix normalization of a variant containing long ref. #17
- Support frame shift with initiation codon change. #18
0.4.0 - 2018-10-03
Strand representation is changed from string (+
, -
) to keyword (:forward
,
:reverse
).
- Support promoter on variant conversion. #10
- Profile for Clojure 1.10. #11
- Add several functions to work with refGene exon sequences. #13
- Return p.? w/ warning when CDS is indivisible by 3. #12
- Use :forward/:reverse as values for the key ':strand'. #14
- Update dependencies:
- clj-hgvs 0.2.4
- cljam 0.6.0
- commons-compress 1.18
- Fix nonsense substitution in del case. #9
- Fix the translation condition of termination substitution with frameshift. #15
- Fix conversion of no change substitution. #16
0.3.7 - 2018-04-27
- Add benchmark code for liftover. #8
- Improve the performance of liftover. #7
- Update dependencies:
- cavia 0.5.0
- commons-compress 1.16.1
- proton 0.1.6
0.3.6 - 2018-02-06
- Add function to retrieve exon regions. #4
- Update dependencies:
- commons-compress 1.16
- proton 0.1.4
- Fix mistranslation from HGVS to vcf variant. #5
0.3.5 - 2017-12-26
- Parse scores and exon-frames in refGene.txt. #3
- Update dependencies:
- cavia 0.4.3
- clj-hgvs 0.2.3
- cljam 0.5.1
- proton 0.1.3
- Fix incorrect conversion of nonsense substitution.
0.3.4 - 2017-08-21
- Update cljam (0.4.1) and proton (0.1.2) version.
- Fix errors for some uncommon variants. #2
0.3.3 - 2017-06-30
- Add tests.
- Support TwoBit format as reference sequence file.
- Fix the process of calculating alt protein sequence.
0.3.2 - 2017-06-15
- Bump clj-hgvs version up to 0.2.0.
0.3.1 - 2017-05-15
- Improve cDNA HGVS -> VCF variant support.
- ref-seq info can be used for HGVS -> VCF.
- Bump dependencies version up.
- Fix missed arguments.
- Fix arguments of lift in README.md. #1
- Fix reflection/boxing warnings.
0.3.0 - 2017-05-08
- Normalize chromosome of VCF->HGVS inputs.
- Use :chr instead of :chrom as chromosome of ref-gene.
- Use record as ref-gene index instead of map.
- Modify arguments of VCF<->HGVS.
- Modify arguments of lift.
- Bump clj-hgvs version up to 0.1.2.
First release.