Entering edit mode
2.1 years ago
Sidra
•
0
I have a lot of SRR ids. I got this code line -->
esearch \
-db sra \
-query SRR1751234 | \
efetch \
-format runinfo \
-mode xml | \
xtract \
-pattern SraRunInfo \
-element BioProject BioSample Modelesearch \
-db sra \
-query SRR1751234 | \
efetch \
-format runinfo \
-mode xml | \
xtract \
-pattern SraRunInfo \
-element BioProject BioSample Model
Output like this -->>
PRJNA186035 SAMN02345261 Illumina MiSeq
But I also need collection date,country. Can anyone help me? I need command line which can read my srr ids file and give the summary of that attributes.
Sidra you have already been warned not to open multiple questions that basically ask the same information. You should also not be deleting any prior posts that have received comments or answers. Deleting old posts and asking the same question again is not appropriate.
As for the information you seek, it may simply not be available for some SRA accessions. There is nothing one can do about it.
You can see that this is all the metadata that is available for the example you posted above. You can pick out fields you can use based on the header below.
I wish there were a way for moderators to merge duplicates retaining relevant comments. This user has opened 3 posts for the same questions and all of them have received input of value from other users.