@@ -13,12 +13,17 @@ Memory: 126G
1313
1414## Download data for testing
1515
16- This will download about 162 MB of data and the model is another 244 MB.
16+ This will download about 252 MB of data and the model is another 245 MB.
1717
1818``` bash
1919# Set directory where inputs will be placed.
20- INPUTS=" ${HOME} /deepconsensus_quick_start/inputs"
20+ QUICKSTART_DIRECTORY=" ${HOME} /deepconsensus_quick_start/"
21+ # This will soon have 3 subfolders: inputs, model, and outputs.
22+
23+ INPUTS=" ${QUICKSTART_DIRECTORY} /inputs"
24+ MODEL_DIR=" ${QUICKSTART_DIRECTORY} /model"
2125mkdir -p " ${INPUTS} "
26+ mkdir -p " ${MODEL_DIR} "
2227
2328# Download the input data which is PacBio subreads and CCS reads.
2429gsutil cp gs://brain-genomics-public/research/deepconsensus/quickstart/v0.1/subreads.bam " ${INPUTS} " /
@@ -28,7 +33,7 @@ gsutil cp gs://brain-genomics-public/research/deepconsensus/quickstart/v0.1/ccs.
2833# gsutil cp gs://brain-genomics-public/research/deepconsensus/quickstart/v0.1/subreads_to_ccs.bam "${INPUTS}"/
2934
3035# Download DeepConsensus model.
31- gsutil cp gs://brain-genomics-public/research/deepconsensus/models/v0.1/checkpoint-50 * " ${INPUTS } " /
36+ gsutil cp gs://brain-genomics-public/research/deepconsensus/models/v0.1/* " ${MODEL_DIR } " /
3237```
3338
3439## Prepare input files
@@ -51,34 +56,16 @@ samtools view -h "aligned.subreads.bam" | \
5156
5257## Install DeepConsensus
5358
54- First go to a parent directory where you want to install DeepConsensus, then
55- follow the steps below to install DeepConsensus.
56-
57- ``` bash
58- git clone https://github.com/google/deepconsensus.git
59- cd deepconsensus
60- source install.sh
61- ```
62-
63- You can ignore errors regarding google-nucleus installation, such as:
64-
65- ```
66- ERROR: Failed building wheel for google-nucleus
67- ```
68-
69- (Optional) After ` source install.sh ` , if you want to run all unit tests, you can
70- do:
71-
7259``` bash
73- ./run_all_tests.sh
60+ pip install deepconsensus==0.1.0
7461```
7562
7663## Run DeepConsensus
7764
7865``` bash
7966# Set directory where outputs will be placed and set the model for DeepConsensus
80- OUTPUTS=" ${HOME} /deepconsensus_quick_start /outputs"
81- CHECKPOINT_PATH=${INPUTS } /checkpoint-50
67+ OUTPUTS=" ${QUICKSTART_DIRECTORY} /outputs"
68+ CHECKPOINT_PATH=${MODEL_DIR } /checkpoint-50
8269
8370# Run DeepConsensus
8471python3 -m deepconsensus.scripts.run_deepconsensus \
0 commit comments