Skip to content

Commit 4895f96

Browse files
committed
updated concentrations for MPNS
1 parent 0d74576 commit 4895f96

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

build/docker/Dockerfile.mpnst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN /opt/venv/bin/pip install --upgrade pip
3131

3232
# Set environment variables for reticulate
3333
ENV RETICULATE_PYTHON="/opt/venv/bin/python3"
34-
ENV PYTHONPATH="${PYTHONPATH}:/app"
34+
ENV PYTHONPATH=/app#"${PYTHONPATH}:/app"
3535
WORKDIR /app
3636

3737
# Set MPLCONFIGDIR to a writable directory
@@ -51,4 +51,4 @@ RUN /opt/venv/bin/pip3 install -r requirements.txt
5151
RUN Rscript requirements.r
5252

5353
# Set up volume for temporary storage
54-
VOLUME ["/tmp"]
54+
VOLUME ["/tmp"]

build/mpnst/03_get_drug_response_data.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ getDrugDataByParent<-function(parid,sampleId){
8585
data <- fread(synGet(x)$path)|>
8686
filter(response_type=='percent viability')|>
8787
mutate(improve_sample_id=sampleId,
88-
DOSE=exp(dosage)/1000000, ##dosage is log(M), need to move to micromolar
88+
DOSE=(10^dosage)*1000000, ##dosage is log(M), need to move to micromolar
8989
GROWTH=response, #/100,
9090
source = "NF Data Portal",
9191
#CELL = improve_sample_id,

build/mpnst/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ directory. Currently using the test files as input.
1212
`mpnst_samples.csv` file. This pulls from the latest synapse
1313
project metadata table.
1414
```
15-
docker run -v $PWD:/tmp -e -e SYNAPSE_AUTH_TOKEN=$SYNAPSE_AUTH_TOKEN mpnst sh build_samples.sh /tmp/build/build_test/test_samples.csv
15+
docker run -v $PWD:/tmp -e SYNAPSE_AUTH_TOKEN=$SYNAPSE_AUTH_TOKEN mpnst sh build_samples.sh /tmp/build/build_test/test_samples.csv
1616
```
1717

1818
3. Pull the data and map it to the samples. This uses the metadata

0 commit comments

Comments
 (0)