This version looks for the first copy of 'blastn' in the list of folders defined with $PATH,
blastn -query /home/viraja/Desktop/samples_with_no_flags/sample_01/contigs_01_without_flag.fasta -db refseq -num_alignments 1 -outfmt '6 qseqid stitle'
By specifying the path to BLAST 2.2.28+, you tell Linux exactly where to look. We mean sdo omething like this, where I'm assuming you downloaded and decompressed the BLAST 2.2.28+ files under /home/viraja/downloads/ - adjust to match your setup:
/home/viraja/downloads/ncbi-blast-2.2.28+/bin/blastn -query /home/viraja/Desktop/samples_with_no_flags/sample_01/contigs_01_without_flag.fasta -db refseq -num_alignments 1 -outfmt '6 qseqid stitle'
blastn -query /home/viraja/Desktop/samples_with_no_flags/sample_01/contigs_01_without_flag.fasta -db refseq -num_alignments 1 -outfmt '6 qseqid stitle'
By specifying the path to BLAST 2.2.28+, you tell Linux exactly where to look. We mean sdo omething like this, where I'm assuming you downloaded and decompressed the BLAST 2.2.28+ files under /home/viraja/downloads/ - adjust to match your setup:
/home/viraja/downloads/ncbi-blast-2.2.28+/bin/blastn -query /home/viraja/Desktop/samples_with_no_flags/sample_01/contigs_01_without_flag.fasta -db refseq -num_alignments 1 -outfmt '6 qseqid stitle'
Comment