vgl-hub / gfastats

A single fast and exhaustive tool for summary statistics and simultaneous *fa* (fasta, fastq, gfa [.gz]) genome assembly file manipulation.
MIT License
91 stars 8 forks source link

can it rename contigs in gff file #51

Closed gunjanpandey closed 1 month ago

gunjanpandey commented 1 month ago

can it rename contigs in a gff file?

gf777 commented 1 month ago

hi @gunjanpandey can you be more specific, i.e. provide an example of what you'd like to achieve?

gunjanpandey commented 1 month ago

for example the contig IDs for all haplotypes in a *.gff start with h1tg. Wondering if your program allows renaming h1tg to something else. It can, however, be done with awk.

gf777 commented 1 month ago

yes, it sounds like something you want to do with a regex editor! Feel free to come back with other suggestions