Project PRJEB99111 has 147 samples. I want to download the metadata (age, sex, disease status, etc) of each sample, not fastq. The only way I can download the metadata is by downloading the xml file of each sample accession one by one - is there a way to bulk download all 147 metadata files? I can work with xml files if I have to.
You can view the metadata for a specific sample accession by clicking on the"attributes" tab. Here is an example for one sample: https://www.ebi.ac.uk/ena/data/view/SAMEA104228123
Exquisite solution. However, it only works for the first 3 samples and then the following error code is repeated many times:
Perhaps the site stoped granting us access thinking that we were not human. I dont know.
works on my machine
https://pastebin.com/sq6dzSKX
Astounding! Much appreciated. I wonder why It didnt fully work for my machine....
How can you make the xslt stylesheet so that sample names are rows and sample attributes are columns, and tab delimited? Example:
use datamash ? https://www.gnu.org/software/datamash/
or something in sqlite: A: formatting problem (awk/bash)
I had the same question and came up with a solution using datamash (note that you may have to put it on your machine using something like homebrew if you are on a Mac). Try out this code, which builds on the original solution above.
Hello,
I wanted to ask about the last part of the script you have written "xsltproc transform.xsl" .
If I ran the your whole script, I get an error that transform.xsl is not found " warning: failed to load external entity "transform.xsl" cannot parse transform.xsl". If I ran it step by step results are produced and I seem to get the correct xml but the transfomer is not working.
I am new to Unix but I understand the script up to the xslproc part. When I run " xslproc -h" there is no option transform.xsl. How does the module works does it need to be separately installed?
Thanks, Martina
did you download the XML/XSLT script above ?
No, I hadn't that works now. Thank you!