getting a mtrice that only shows the hits
0
0
Entering edit mode
3.2 years ago

I'am trying to run blastn to check if a sequence has a similar match within a database within a certain percent identity– to speed things up, I'd like blast to stop searching after finding a hit (it doesn't matter what the match is, just that it exists).so if there is a hit i got 1 and if there is not i got 1 .so in the end i get a matrice like in the picture !! Is there a parameter that does this? thank you my commande that iam trying to work with : for file in /scratch/Streptot.fa ; do
if [blastn -query $file -db /home/elgazel/recherche_virulance/Streptococcus_cbpA_DNA.fas -evalue 0.001 -outfmt 6 ] ; then echo "1" ; else echo "0" ; fi
done

blastn • 388 views
ADD COMMENT

Login before adding your answer.

Traffic: 3227 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6