Entering edit mode
2.2 years ago
tbayer
▴
50
HI!
Can I use andvanced search on NCBI (or some other method) to find Genbank records that have a specific field, independently of what that field contains?
Specifically I would like to filter records that have the "specimen_voucher" field under Features/Source. Or even more specifically I have a list of Genbank IDs and would like to filter out those that do not have this field.
Can you provide example of GenBank ID. Without that information this is example query. Count field below shows how many entries.
Using Entrezdirect:
For nucleotide database
Hi, thanks for the reply. An example record would be
AF301461.1
with the specimen_voucher field.Your example
esearch -db nuccore -query "specimen_voucher
would also find records that do not have the field, but where the text "specimen_voucher" appears anywhere in the title, no?While that field appears in GenBank format record it is not a directly queryable attribute AFAI see. You can find specific records that have a value in that field by
That field may also be empty
Thanks! As i wanted to retrieve all Genbank records that have this field downloading the full genbank format for grepping may take a while... I think I'll just search for that keyword via the online search for now and download all IDs in a file.