How does one programmatically get access to all sample information for a given sample using either the GSM number or the SRR number? I've used esearch to get runinfo, and map from GSE series identifiers to GSM sample ids and PRJN SRA identifiers to get corresponding SRR numbers, etc. But for a given ChIP Seq experiment the antibody used for a given sample is nowhere among any of that information and only appears as a sample attribute on a web page:
How does one get programmatic access to any arbitrary sample attribute given a GSM or SRR id?
Excellent! This record has 80 samples so I can just write a loop and parse the results. There are some arguments in your example I didn't know about. Thanks!
If you are planning to write a loop, be sure to check out the sections on While Loop and For Loop here: https://www.ncbi.nlm.nih.gov/books/NBK179288/#chapter6.Automation