I am trying to run a blatn
command from both my laptop and within a google colab notebook. I am not sure why, but this command runs properly once and then, on the second execution, it gets stuck for hours without a reply.
Is it possible that NCBI blocks my IP? I've tried also to run web_blast.pl
and this didn't work either.
biopython:
from Bio.Blast import NCBIWWW
fasta = '>seq0\n'+'AACCACCTGACGGGCTCTGT'
blast_res = NCBIWWW.qblast('blastn', 'nt', fasta)
print(blast_res.read())
web_blast.pl
command:
web_blast.pl blastn nt input.fa > blast.out
Note, if this is due to throttling by NCBI, I am not sure how do they expect people to query their web service if they block you after one call.