Created
June 23, 2016 21:32
-
-
Save jfear/080db6b6585adff812b71bb9b883b270 to your computer and use it in GitHub Desktop.
Download SRA XSDs for use with biopython
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Trying to get biopython to parse SRA xml output. I think I need these XSDs produced by SRA to do this. | |
if [ ! -e ~/.biopython/Bio/Entrez/XSDs ]; then mkdir -p ~/.biopython/Bio/Entrez/XSDs; fi | |
cd ~/.biopython/Bio/Entrez/XSDs | |
wget -O SRA.common.xsd "http://www.ncbi.nlm.nih.gov/viewvc/v1/trunk/sra/doc/SRA_1-5/SRA.common.xsd?view=co" | |
wget -O SRA.submission.xsd "http://www.ncbi.nlm.nih.gov/viewvc/v1/trunk/sra/doc/SRA_1-5/SRA.submission.xsd?view=co" | |
wget -O SRA.study.xsd "http://www.ncbi.nlm.nih.gov/viewvc/v1/trunk/sra/doc/SRA_1-5/SRA.study.xsd?view=co" | |
wget -O SRA.sample.xsd "http://www.ncbi.nlm.nih.gov/viewvc/v1/trunk/sra/doc/SRA_1-5/SRA.sample.xsd?view=co" | |
wget -O SRA.experiment.xsd "http://www.ncbi.nlm.nih.gov/viewvc/v1/trunk/sra/doc/SRA_1-5/SRA.experiment.xsd?view=co" | |
wget -O SRA.run.xsd "http://www.ncbi.nlm.nih.gov/viewvc/v1/trunk/sra/doc/SRA_1-5/SRA.run.xsd?view=co" | |
wget -O SRA.analysis.xsd "http://www.ncbi.nlm.nih.gov/viewvc/v1/trunk/sra/doc/SRA_1-5/SRA.analysis.xsd?view=co" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment