Entering edit mode
3.4 years ago
dangohh
▴
10
Hi,
Having hundreds of assemblies with between 50-100 contigs. All contigs are named Contig_1, Contig_2 etc ... But the assemblies themselves have an ID I want on the contigs as well for the downstream analysis. So the ID of the file should be included before the contig. I.e:
<fileid>_Contig_1 instead of only Contig_1
Please help!
That worked great, how do I now put it in a loop for all .fasta in my directory?
(Definitely signing up for an intro to bash scripting) :D