Skip to content

Commit

Permalink
Merge pull request #179 from PNNL-CompBio/synapse-inst
Browse files Browse the repository at this point in the history
added instructions for synapse download
  • Loading branch information
sgosline authored May 21, 2024
2 parents 4239743 + c590a0e commit d733f56
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,15 @@ please see the [schema description](schema/README.md).

We have created a build script that executes each step of the build process to enable the creation of a `local` folder with all the requisite folders.

The build requires Python as well as Docker to be installed.
The build requires Python as well as Docker to be installed. To access
the data on Synapse (MPNST, BeatAML proteomics), you will need to
[register for a synapse account](http://synapse.org/register) and then
request access to the [CoderData Build
Team](https://www.synapse.org/#!Team:3503472). Then you will need to
create a [personal authentication
token](https://www.synapse.org/#!PersonalAccessTokens:) with Download
access and then set the `SYNAPSE_AUTH_TOKEN` environment variable to
that token.

To build the docker images and run them, simply run (though this will take a while!):
```
Expand Down
2 changes: 1 addition & 1 deletion build/mpnst/02_get_drug_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ print(paste(alldrugs,collapse=','))


##copy old drug to new drug
olddrugs<-do.call(rbind,lapply(unique(unlist(strsplit(olddrugfiles,split=','))),function(x) read.table(x,header=T,sep='\t',quote='',comment.char=''))
olddrugs<-do.call(rbind,lapply(unique(unlist(strsplit(olddrugfiles,split=','))),function(x) read.table(x,header=T,sep='\t',quote='',comment.char='')))
olddrugs<-unique(olddrugs)

print(paste('Read in ',nrow(olddrugs),'old drugs'))
Expand Down

0 comments on commit d733f56

Please sign in to comment.