powered by
writeFasta writes a named vector of sequences to a file in fasta format.
writeFasta
writeFasta(named_sequences, file, width = 60, append = FALSE)
A named vector of strings respresenting Ig alleles.
vector of named string representing sequences
the name of the output file.
the number of characters to be printed per line. if not between 1 and 255, width with be infinite.
logical indicating if the output should be appended to file instead of overwriting it
logical
file
readIgFasta to do the inverse.
if (FALSE) { # writeFasta(germlines, "ighv.fasta") }
Run the code above in your browser using DataLab