-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setting up a unified data download handeling
- Loading branch information
Showing
3 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
# This gitignore contains all those data files, which are not kept on the repo | ||
# and thus have to be downloaded automatically or manually (in case registration | ||
# or journal access is needed) | ||
|
||
# The temporary download folder: | ||
tmp/ | ||
|
||
|
||
################ | ||
# PPIs | ||
################# | ||
|
||
# Bossi & Lehner PPI file | ||
ppis/CRG.integrated.human.interactome.txt | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Data Sources | ||
============ | ||
|
||
Protein-Protein Interaction Networks | ||
------------------------------------ | ||
|
||
### Bossi & Lehner composite PPI network | ||
|
||
From the supplementary section of the paper ["Tissue specificity and the human protein interaction network"](http:https://www.ncbi.nlm.nih.gov/pubmed/19357639). | ||
|
||
This can be automatically downloaded via the download_data.sh script. | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
|
||
# This script downloads all publicly available data into the correct folders. | ||
# Run this before using the pipeline. | ||
# Don't forget to download the data, that is not publicly available (see README.md for | ||
# sources and further explainations) | ||
|
||
# A few settings | ||
TMP_FOLDER=tmp | ||
|
||
|
||
# make tmp folder | ||
rm -R $TMP_FOLDER | ||
mkdir -p $TMP_FOLDER | ||
|
||
|
||
#################### | ||
# PPI networks | ||
################### | ||
|
||
# 1.) Bossi & Lehner: | ||
BOSSI_URL=http:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2683721/bin/msb200917-s2.zip | ||
BOSSI_ZIP=$TMP_FOLDER/bossi-lehner-suppl.zip | ||
|
||
curl -o $BOSSI_ZIP $BOSSI_URL | ||
unzip $BOSSI_ZIP -d $TMP_FOLDER | ||
cp $TMP_FOLDER/CRG-human-interactome/CRG.integrated.human.interactome.txt ppis/ | ||
|
||
|