Get Hgvs HGVS ID from chromosome, position, reference and alternate alleles.

Description

Create a single HGVS ID for a variant from chromosome, position, reference and alternate alleles.

Usage

1
formatSingleHgvs(chrom, pos, ref, alt, mutant_type=FALSE)

Arguments

chrom

Chromosome.

pos

Position of the variant on the reference genome (hg19).

ref

Reference allele.

alt

Alternate allele.

mutant_type

Logical indicating whether to return the type of mutation along with the HGVS ID.

Value

returns a string

References

https://myvariant.info http://www.hgvs.org/mutnomen/recs-DNA.html

See Also

formatHgvs

Examples

1
2
## return HGVS ID for a variant
formatSingleHgvs(1, 35367, "G", "A")

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.