write_fasta.Rd
write fasta file
write_fasta(x, fpath, width = 60)
x | x |
---|---|
fpath | A fasta file path. |
width | w |
#> class: dstr,bstr,character #> number of sequences: 3 #> [1] no name 1 : CCGTATTGGAAAGCTCGT....TGGTACGGCTCAAACGGC 60 #> [2] no name 2 : TCCCGCCTATCTCCCTTC....AGTGGGTGGGACGCAGAT 90 #> [3] no name 3 : GGCCGAGACACTCTTCAC....CTACCAGTTAGCGCCACG 200write_fasta(temp)#> [1] ">no name 1" #> [2] "CCGTATTGGAAAGCTCGTCTTAGACCACTCCGCATGTAGCTGTGGTACGGCTCAAACGGC" #> [3] ">no name 2" #> [4] "TCCCGCCTATCTCCCTTCTTCGCCTAGAAAAAGTTTCCTGGCCTGAACTGTGCCAAGACG" #> [5] "TCCATCGAAGGAAGTGGGTGGGACGCAGAT" #> [6] ">no name 3" #> [7] "GGCCGAGACACTCTTCACGCGTTCCTGGGTCATGTATGTGGCATCGATCTCAGCAGGACG" #> [8] "TATTTCGTTCCACGTGCACTCACGCGGGCCCGTACACACTTTCGCAACCTGCCTGAATGA" #> [9] "AACACACACTAGTCAACAAAAATCGGAAATGACCCTATACAATGCCACTGGCCTTTTTCT" #> [10] "TCCTACCAGTTAGCGCCACG"