Skip to content

Commit

Permalink
fix stats bug [#24]; bump minor version
Browse files Browse the repository at this point in the history
  • Loading branch information
esteinig committed Oct 5, 2021
1 parent b546e41 commit 4a881d4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nanoq"
version = "0.8.1"
version = "0.8.2"
authors = ["esteinig <[email protected]>", "ljmcoin <[email protected]>"]
description = "Minimal but speedy quality control and summaries of nanopore reads"
documentation = "https://github.com/esteinig/nanoq"
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

[![build](https://github.com/esteinig/nanoq/actions/workflows/rust-ci.yaml/badge.svg?branch=master)](https://github.com/esteinig/nanoq/actions/workflows/rust-ci.yaml)
[![codecov](https://codecov.io/gh/esteinig/nanoq/branch/master/graph/badge.svg?token=1X04YD8YOE)](https://codecov.io/gh/esteinig/nanoq)
![](https://img.shields.io/badge/version-0.8.1-black.svg)
![](https://img.shields.io/badge/version-0.8.2-black.svg)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3707754.svg)](https://doi.org/10.5281/zenodo.3707754)

Ultra-fast quality control and summary reports for nanopore reads

## Overview

**`v0.8.1`**
**`v0.8.2`**

- [Purpose](#purpose)
- [Install](#install)
Expand Down Expand Up @@ -38,7 +38,7 @@ nanoq -h
#### `Conda`

```
conda install -c bioconda nanoq=0.8.1
conda install -c bioconda nanoq=0.8.2
nanoq -h
```

Expand All @@ -54,7 +54,7 @@ docker run esteinig/nanoq
Precompiled binaries for Linux and MacOS are attached to the latest release.

```
VERSION=0.8.1
VERSION=0.8.2
RELEASE=nanoq-${VERSION}-x86_64-unknown-linux-musl.tar.gz
wget https://github.com/esteinig/nanoq/releases/download/${VERSION}/${RELEASE}
Expand Down Expand Up @@ -118,7 +118,7 @@ done
### Parameters

```
nanoq 0.8.1
nanoq 0.8.2
Read filters and summary reports for nanopore data
Expand Down Expand Up @@ -221,7 +221,7 @@ Tools:
* `nanostat=1.5.0`
* `nanofilt=2.8.0`
* `filtlong=0.2.1`
* `nanoq=0.8.1`
* `nanoq=0.8.2`

Commands used for `stats` task:

Expand Down
8 changes: 4 additions & 4 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ impl ReadSet {
reads = self.reads(),
bases = self.bases(),
n50 = self.n50(),
longest = length_range[0],
shortest = length_range[1],
longest = length_range[1],
shortest = length_range[0],
mean = self.mean_length(),
median = self.median_length(),
meanq = self.mean_quality(),
Expand All @@ -122,8 +122,8 @@ impl ReadSet {
reads = self.reads(),
bases = self.bases(),
n50 = self.n50(),
longest = length_range[0],
shortest = length_range[1],
longest = length_range[1],
shortest = length_range[0],
mean = self.mean_length(),
median = self.median_length(),
meanq = self.mean_quality(),
Expand Down

0 comments on commit 4a881d4

Please sign in to comment.