However, the retrieved sequences are sometimes mapped to the wrong genes. This issue is reproducible for me for a query with just 7 genes (for which the code is given above).
When querying just a gene at the time, the code works but it will take one hour for a moderately sized set of genes (~300) and has a risk of getting your IP banned due to the frequency of requests.
Feel free to compare the results that you get to the correct sequences, which are provided here: genes_reference.txt
Hello,
I have a couple of genes that I want to get the sequence of. I am using the following code for this:
However, the retrieved sequences are sometimes mapped to the wrong genes. This issue is reproducible for me for a query with just 7 genes (for which the code is given above). When querying just a gene at the time, the code works but it will take one hour for a moderately sized set of genes (~300) and has a risk of getting your IP banned due to the frequency of requests.
Feel free to compare the results that you get to the correct sequences, which are provided here: genes_reference.txt