Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mhc_rank
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Patrick Skillman-Lawrence
mhc_rank
Commits
92720e6b
Commit
92720e6b
authored
5 years ago
by
Tim O'Donnell
Browse files
Options
Downloads
Patches
Plain Diff
Add data_expression download
parent
0805397e
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
downloads-generation/data_expression/GENERATE.sh
+57
-0
57 additions, 0 deletions
downloads-generation/data_expression/GENERATE.sh
mhcflurry/downloads.yml
+4
-0
4 additions, 0 deletions
mhcflurry/downloads.yml
with
61 additions
and
0 deletions
downloads-generation/data_expression/GENERATE.sh
0 → 100755
+
57
−
0
View file @
92720e6b
#!/bin/bash
#
# Download published gene expression data corresponding to some of our mass
# spec datasets.
#
#
set
-e
set
-x
DOWNLOAD_NAME
=
data_expression
SCRATCH_DIR
=
${
TMPDIR
-/tmp
}
/mhcflurry-downloads-generation
SCRIPT_ABSOLUTE_PATH
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
/
$(
basename
"
${
BASH_SOURCE
[0]
}
"
)
"
SCRIPT_DIR
=
$(
dirname
"
$SCRIPT_ABSOLUTE_PATH
"
)
mkdir
-p
"
$SCRATCH_DIR
"
rm
-rf
"
$SCRATCH_DIR
/
$DOWNLOAD_NAME
"
mkdir
"
$SCRATCH_DIR
/
$DOWNLOAD_NAME
"
# Send stdout and stderr to a logfile included with the archive.
exec
>
>(
tee
-ia
"
$SCRATCH_DIR
/
$DOWNLOAD_NAME
/LOG.txt"
)
exec
2>
>(
tee
-ia
"
$SCRATCH_DIR
/
$DOWNLOAD_NAME
/LOG.txt"
>
&2
)
date
cd
$SCRATCH_DIR
/
$DOWNLOAD_NAME
# Many cell line sequencing data is available from:
# Available from SRA [access required] at:
# https://www.ebi.ac.uk/ega/studies/EGAS00001000610
# CCLE cell lines
DATASET
=
ccle
mkdir
$DATASET
cd
$DATASET
wget
-q
https://data.broadinstitute.org/ccle/CCLE_RNAseq_rsem_genes_tpm_20180929.txt.gz
wget
-q
https://data.broadinstitute.org/ccle/CCLE_miRNA_20181103.gct
cd
..
# B721.221
DATASET
=
b721221
mkdir
$DATASET
cd
$DATASET
wget
-q
https://www.ncbi.nlm.nih.gov/geo/download/?acc
=
GSE93315&format
=
file
cd
..
DATASET
=
pancan-xena
mkdir
$DATASET
cd
$DATASET
wget
-q
https://pancanatlas.xenahubs.net/download/probeMap/hugo_gencode_good_hg19_V24lift37_probemap
wget
-q
https://pancanatlas.xenahubs.net/download/EB++AdjustPANCAN_IlluminaHiSeq_RNASeqV2.geneExp.xena.gz
cd
..
cp
$SCRIPT_ABSOLUTE_PATH
.
bzip2 LOG.txt
RESULT
=
"
$SCRATCH_DIR
/
${
DOWNLOAD_NAME
}
.
$(
date
+%Y%m%d
)
.tar.bz2"
tar
-cjf
"
$RESULT
"
*
echo
"Created archive:
$RESULT
"
This diff is collapsed.
Click to expand it.
mhcflurry/downloads.yml
+
4
−
0
View file @
92720e6b
...
...
@@ -37,6 +37,10 @@ releases:
url
:
https://github.com/openvax/mhcflurry/releases/download/pre-1.4.0/data_mass_spec_annotated.20190930.tar.bz2
default
:
false
-
name
:
data_expression
url
:
https://github.com/openvax/mhcflurry/releases/download/1.4.0/data_expression.20191009.tar.bz2
default
:
false
-
name
:
data_references
url
:
https://github.com/openvax/mhcflurry/releases/download/pre-1.4.0/data_references.20190927.tar.bz2
default
:
false
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment