Skip to content

Instantly share code, notes, and snippets.

@pmagwene
Created August 20, 2023 13:57
Show Gist options
  • Save pmagwene/c2f0bee35ed64a232b374ec36212fd54 to your computer and use it in GitHub Desktop.
Save pmagwene/c2f0bee35ed64a232b374ec36212fd54 to your computer and use it in GitHub Desktop.
Prepend text to a sequence ID of a FASTA file using seqkit
# Prepends "VNII_" in front of every sequence ID in this genome
seqkit replace -p ^ -r VNII_ GCA_022832995.1_ASM2283299v1_genomic.fna > VNII_Genome.fasta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment