Entering edit mode
2.5 years ago
m.brathwaite
•
0
After I run my esearch in pubmed I return a list of IDs for publications. I found the following info by running einfo on pubmed"
# {'Name': 'pubmed_protein_weighted', 'Menu': 'Protein (Weighted) Links', 'Description': 'Links to protein', 'DbTo': 'protein'}
# {'Name': 'pubmed_snp', 'Menu': 'SNP Links', 'Description': 'PubMed to SNP links', 'DbTo': 'snp'}
# {'Name': 'pubmed_protein_refseq', 'Menu': 'Protein (RefSeq) Links', 'Description': 'Link to Protein RefSeqs', 'DbTo': 'protein'}
# {'Name': 'pubmed_dbvar', 'Menu': 'dbVar', 'Description': 'Link from PubMed to dbVar', 'DbTo': 'dbva
My question is how do I use biopython entrez to link out to respective DBs? Like
{'Name': 'pubmed_protein_weighted', 'Menu': 'Protein (Weighted) Links', 'Description': 'Links to protein', 'DbTo': 'protein'}?
Can you provide an example of search terms? Looks like you are simply showing JOSN format link-out information above.
Something like this:
Makes sense! I totally forgot about the 'pipe' to with 'elink'. Much appreciated!
This is good for working in UNIX, but I'm working on editing it for BioPython. Would you happen to have and example?