Parse accesion numbers from fasta and add a suffix of the ith occurence to handle duplicates
Arguments
- fasta
An Biostrings::XStringSet object representing the sequences from a FASTA file. The sequence names (headers) will be adjusted for uniqueness and sanitized.
Value
Biostrings::XStringSet fasta with adjusted names (headers)
Examples
if (FALSE) { # \dontrun{
AAStringSet(c("xxx" = "ATCG", "xxx" = "GGGC")) |>
cleanFAHeaders()
} # }