View source: R/refseq_CDSseq.R
refseq_CDSseq | R Documentation |
refseq_CDSseq()
Parses a single/multiple transcript accessions (RefSeq format) and extract
the CDS nucleotide sequences into a DNAStringSet
object.
Depending on the function, available accessions in refseqR
include RefSeq models with the prefixes XM_ (mRNA), XR_ (non-coding RNA), and XP_ (protein), as well as subsequently curated RefSeq records with NM_, NR_, or NP_ accession prefixes.
refseq_CDSseq(transcript)
transcript |
A character string of the single/multiple transcript id. |
An object of DNAStringSet
class.
Jose V. Die
refseq_CDScoords
transcript <- c("XM_004487701", "XM_004488493", "XM_004501904")
my_cds <- refseq_CDSseq(transcript)
# Now, the `DNAStringSet` can easily used to make a fasta file :
# writeXStringSet(x= my_cds, filepath = "cds_result")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.