Closed zhangkaihui1 closed 11 months ago
It's a common task, see here: Add taxonomy information to BLAST result
The error message is quite straightforward: unmatched number of fields and colnames, extract spaces.
A piece of advice here: for large input data, csvtk replace
is better than csvtk join
, the later one will occupy a lot of memory.
Prerequisites
Dear teacher, I need to decontaminate the original sequencing data, and the comparison results are outputed by comparing NT database with blastn. But the result of comparison is only the sequence ID number, I need to know the species name, and then extract the required sequence. Therefore, I used Taxonkit software to obtain the ID number and species name of the family of species I studied in NCBI. The e.T.axid.txt file of 17k, e.T.axid.name.txt of 71K, and 14M e.acession.version_taxid.txt are generated. Now I need to match the id number in the result from blastn to its corresponding species name. So I entered the following command:
but the following error message is displayed :
do you have time to help me see what the problem is and how to solve it?