Looks like they are back. However, the headers are tab separated now, but the rest of the output is comma separated :).
headers missing in efetch results for SRA database
Hey everyone, I am trying to retrieve a SRA table via esearch and efetch, as I did many times before. However, when I do this now, the headers in my table are missing. And I can't find any flag or similar that would make them reappear. Did SRA change anything here?
My command is:
esearch -db bioproject -query [PRJN or SRP] | efetch -format runinfo > file.csv
• 2,497 views
•
link
1 answer
Thanks for pointing out this problem with the headers. We are working on a fix. Hope to have it corrected soon.
• 0 views
•
link
Log in to answer this question.
While I have not done this specific search, are you saying that you used to get something like the following with that query?
Yes, but with headers like
They were included in the exact same command, but since about two weaks the headers are missing somehow. That makes it really hard to identify the columns :).
Please report this to NCBI help desk. Be aware that it may take them up to 48h to respond at times. Looks like the
-format runInfoheader is not working (even in case of search I posted above).