how to write fasta file of RNA sequences
1
0
Entering edit mode
wang peter ★ 2.0k
@wang-peter-4647
Last seen 9.6 years ago
dear all: it seems writeFasta can not allow RNA sequences. writeFasta(RNAStringSet(x, use.names=TRUE),"miRNA") Error in function (classes, fdef, mtable) : unable to find an inherited method for function "writeFasta", for signature "RNAStringSet" -- shan gao Room 231(Dr.Fei lab) Boyce Thompson Institute Cornell University Tower Road, Ithaca, NY 14853-1801 Office phone: 1-607-254-1267(day) Official email:sg839 at cornell.edu Facebook:http://www.facebook.com/profile.php?id=100001986532253
• 992 views
ADD COMMENT
0
Entering edit mode
@steve-lianoglou-2771
Last seen 13 months ago
United States
Hi, On Sun, Mar 18, 2012 at 3:49 PM, wang peter <wng.peter at="" gmail.com=""> wrote: > dear all: > ? ? ? ? it seems writeFasta can not allow RNA sequences. > > > writeFasta(RNAStringSet(x, use.names=TRUE),"miRNA") > Error in function (classes, fdef, mtable) ?: > ?unable to find an inherited method for function "writeFasta", for > signature "RNAStringSet" Interesting. For now, Biostrings::write.XStringSet (which writeFasta calls internally) handles it. Not sure if it's intentional to not support RNA* in the ShortRead functions[*] but you can at least use Biostrings::write.XStringSet to do what you need for now. -steve [*] maybe it is intentional since no sequencers I know of will read a "U" as most (all) incorporate dNTPs (not rNTPs) while reading ... just stabbing at the dark on this one, though. -- Steve Lianoglou Graduate Student: Computational Systems Biology ?| Memorial Sloan-Kettering Cancer Center ?| Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact
ADD COMMENT

Login before adding your answer.

Traffic: 562 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6