Entering edit mode
5.0 years ago
MSRS
▴
590
My csv files looks like (https://www.biostars.org/p/380879/###courtesy)
201200175|A|name1|175|2012
201200287|A|name2|287|2012
201200845|A|name3|845|2012
my fasta file looks like..
201200175
201200287
201200845
I want the output like...
201200175|A|name1|175|2012
201200287|A|name2|287|2012
201200845|A|name3|845|2012
Rename fasta headers from CSV
how can I edit this command for this type of data?
in KV-file should have first column should have fasta headers (without >) and corresponding replacing value @ mdshaminurrahman95. seqkit doesn't work as such with CSV file furnished in OP @ mdshaminurrahman95
this should work if data is exactly as posted in OP:
input:
output: