Hi I think the line 14 in change_id_to_name_fasta.py
has to be:
idn[spls[0]] = spls[1]
rather than:
idn[spls[3]] = spls[4]
Since the tutorial said:
change_id_to_name_fasta.py This will allow you to change names in a user input fasta file with a list of given names. The input is a tab delimited file containing the current names in the first column and the names to be replaced with in the second.
python change_id_to_name_fasta.py Table.tsv InputFasta.fa OutputFile
That means the table should only has two columns: old name spls[0] and new name to replace spls[1]
Pardon me if I misinterpret it :0
Miao
Hi I think the line 14 in
change_id_to_name_fasta.pyhas to be:
idn[spls[0]] = spls[1]rather than:
idn[spls[3]] = spls[4]Since the tutorial said:
That means the table should only has two columns: old name spls[0] and new name to replace spls[1]
Pardon me if I misinterpret it :0
Miao