I downloaded human chromosome from UCSC and tried to make a "blastable" database. Each chromosomes was saved separately, something like chr1.fa, chr2.fa etc. I would like to make one "BIG" and "blastable" database file named as "humna38.fa.
I wrote a command like "makeblastdb -in ~/Database/Chr38/*.fa -dbtype nucl -out human38.fa", but gave me error "Too many positional arguments (1), the offending value: chr10.fa"
What is wrong and fix?
Use following steps :
1.First ,concatenate all the chromosome sequences into one using cat function of linux 2.Use following command for making database:
make sure fasta sequence is in same directory or else give the complete path.
I hope this will help
Should I concatenate first by
cat *.fa > new_name.fa
? and thenmakeblastdb -in new_name.fa -input_type fasta -dbtype nucl -out human_db
?Yes, the error message is relatively clear about that. "Too many positional arguments (1), the offending value: chr10.fa"
yes u have to concatenate first