Entering edit mode
4.8 years ago
anasofiamoreira94
▴
80
How can I filter nt database remotely, to include only some taxa? (I'm sorry if this is a naive question)
How can I filter nt database remotely, to include only some taxa? (I'm sorry if this is a naive question)
You can't do this (in the sense of filter remotely and download only what you need).
entrez
query (simulating remote filtering).Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Can I do this: https://imgur.com/tu8lv27 with entrez?
Yes. That is the kind of search term you will use as shown in the search box. Here is a full list of those terms
I'm using entrez, and I did this command: Entrez.esearch(db='nucleotide',term="Mammals AND cox1[Gene]", idtype='acc') and it counts me 61818, but when I list the IDS I only get some of them. Is this the maximum number of IDS to print, or the result by itself?
Looks like you are doing this in python. Add
retmax=1000000
to get all results.That worked, thanks that worked. I want to delete the fasta sequences of that query so I did this line: Entrez.efetch(db='nucleotide', id=id_list,retmode="fasta"), but I can't retrive the fasta sequences.