Skip to content

Commit

Permalink
Merge pull request #33 from google/r0.3.1
Browse files Browse the repository at this point in the history
R0.3.1
  • Loading branch information
danielecook authored Jul 19, 2022
2 parents 3f7eca9 + 5856b7f commit 3c7120f
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 62 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ to inspect some example model inputs and outputs.
If you're on a GPU machine:

```bash
pip install deepconsensus[gpu]==0.3.0
pip install deepconsensus[gpu]==0.3.1
# To make sure the `deepconsensus` CLI works, set the PATH:
export PATH="/home/${USER}/.local/bin:${PATH}"
```

If you're on a CPU machine:

```bash
pip install deepconsensus[cpu]==0.3.0
pip install deepconsensus[cpu]==0.3.1
# To make sure the `deepconsensus` CLI works, set the PATH:
export PATH="/home/${USER}/.local/bin:${PATH}"
```
Expand All @@ -93,13 +93,13 @@ export PATH="/home/${USER}/.local/bin:${PATH}"
For GPU:

```bash
sudo docker pull google/deepconsensus:0.3.0-gpu
sudo docker pull google/deepconsensus:0.3.1-gpu
```

For CPU:

```bash
sudo docker pull google/deepconsensus:0.3.0
sudo docker pull google/deepconsensus:0.3.1
```

### From source
Expand Down
4 changes: 2 additions & 2 deletions README_pip.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
If you're on a GPU machine:

```bash
pip install deepconsensus[gpu]==0.3.0
pip install deepconsensus[gpu]==0.3.1
# To make sure the `deepconsensus` CLI works, set the PATH:
export PATH="/home/${USER}/.local/bin:${PATH}"
```

If you're on a CPU machine:

```bash
pip install deepconsensus[cpu]==0.3.0
pip install deepconsensus[cpu]==0.3.1
# To make sure the `deepconsensus` CLI works, set the PATH:
export PATH="/home/${USER}/.local/bin:${PATH}"
```
Expand Down
2 changes: 1 addition & 1 deletion deepconsensus/inference/quick_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class DebugStage(enum.Enum):

# The following parameters are used at the end for filtering the final output.
flags.DEFINE_integer('min_length', 0, 'Minimum length for reads output.')
flags.DEFINE_integer('min_quality', 0, 'Minimum quality for reads output.')
flags.DEFINE_integer('min_quality', 20, 'Minimum quality for reads output.')

# The following parameters affect performance of this script.
flags.DEFINE_integer(
Expand Down
2 changes: 1 addition & 1 deletion deepconsensus/utils/dc_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import tensorflow as tf

# DeepConsensus Version
__version__ = '0.3.0'
__version__ = '0.3.1'

# Vocab
GAP_OR_PAD = ' '
Expand Down
6 changes: 3 additions & 3 deletions docs/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ the appropriate version (CPU / GPU) depending on your use case.

```bash
# Define DOCKER_IMAGE *once* depending on whether you will be using CPU or GPU:
DOCKER_IMAGE=google/deepconsensus:0.3.0 # For CPU
DOCKER_IMAGE=google/deepconsensus:0.3.0-gpu # For GPU
DOCKER_IMAGE=google/deepconsensus:0.3.1 # For CPU
DOCKER_IMAGE=google/deepconsensus:0.3.1-gpu # For GPU
sudo docker pull ${DOCKER_IMAGE}
```

Expand Down Expand Up @@ -304,7 +304,7 @@ At the end of your run, you should see:

```
Processed 178 ZMWs in 334.629 seconds
Outcome counts: OutcomeCounter(empty_sequence=0, only_gaps_and_padding=0, failed_quality_filter=0, failed_length_filter=0, success=178)
Outcome counts: OutcomeCounter(empty_sequence=0, only_gaps_and_padding=0, failed_quality_filter=3, failed_length_filter=0, success=175)
```

## Optimizing Runtime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
}
],
"source": [
"! pip install -qq deepconsensus[cpu]==0.3.0"
"! pip install -qq deepconsensus[cpu]==0.3.1"
]
},
{
Expand Down
50 changes: 0 additions & 50 deletions run_kokoro_tests.sh

This file was deleted.

0 comments on commit 3c7120f

Please sign in to comment.