Renaming a fasta object given a reference table
this function could be used to rename the sequences in the fasta object, given a reference dataframe.
the fasta object.
Dataframe with first column of the names of the sequences , the second column which name to change into.
A string indicating the file name, the result written to.
prefix of which the names of the sequences.
Prefix providing the flexibility of modifying the input names of sequences, for example, if the sequences names begin with "P_seq1", and unfortunately the names in reference table are lack of "P_". You may set the prefix as "P_", and without changing the reference table.
Jinlong Zhang email@example.com
1 2 3 4 5 6 7 8 9 10
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.