Skip to contents

Parse accesion numbers from fasta and add a suffix of the ith occurence to handle duplicates

Usage

cleanup_fasta_header(fasta)

Arguments

fasta

Value

XStringSet fasta with adjusted names (headers)

Examples

if (FALSE) { # \dontrun{
AAStringSet(c("xxx" = "ATCG", "xxx" = "GGGC")) |>
    cleanup_fasta_header()
} # }