Skip to content

Commit 84f800f

Browse files
authored
Final changes for v0.2.1 release (#79)
* Final changes for 0.2.1 release * Increase version number: 0.2.0 -> 0.2.1 * Add new args of barcode_length and transposon_seq * Adding barcode_length and transposon_seq arguments Now the user can define the barcode index length from 4bp - 16bp and provide their own transposon sequence for regex searches as an argument to pyinseq * Add tests for new args * Disclaimer of future snakemake version
1 parent 382f9c9 commit 84f800f

File tree

4 files changed

+27
-9
lines changed

4 files changed

+27
-9
lines changed

CHANGELOG.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
# Changelog
22

3-
## [Unreleased]
3+
## [0.2.1] - 2021-06-02
44
### Fixed
55
- `pyinseq` alone brings up the help documentation
6-
- Small fix to the `three_primeness` calculation.
6+
- Small fix to the `three_primeness` calculation.
7+
A minimum of 3 reads is now required per site, and a Left:Right max read ratio of 10-fold to be tallied.
8+
79
### Changed
8-
- Only Python 3.6+ supported
10+
- Only Python 3.6 and 3.7 are supported.
11+
- `screed` module is used for opening/writing fastq files.
12+
913
### Added
10-
- `pyinseq genomeprep` command
11-
- Added T50 calculation
12-
- Added progress bar for `demultiplex` function
14+
- `pyinseq genomeprep` subcommand will prepare genome files for pyinseq run. Also checks GenBank files before running.
15+
- Added T50 calculation for sites files.
16+
- Added progress bar for `demultiplex` function and for `writing` reads to sample files.
17+
- `test_script.py` now compares directories and files from `pyinseq` runs to the expected output.
18+
- Parameter `--min_counts`: minimum number of reads at a site required to be tallied. Default is 3
19+
- Parameter `--max_ratio`: max ratio allowed between left and right reads around a TA insertion site. Default is 10-fold.
20+
- Parameter `--transposon_seq`: define transposon sequence that is found at end of reads to help in demultiplexing. Default is ACAGGTTG
21+
- Parameter `--barcode_length`: length of barcode index used to demultiplex reads into samples, allows for 4 - 16 nt. Default is 4.
22+
- Parameter `--gff3`: enables `pyinseq` to write gff3 version of genome files.
23+
1324

1425
## [0.2.0] - 2017-07-16
1526
### Added

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22
![Python 3.6](https://img.shields.io/badge/python-3.6-blue.svg)
33
![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)
44

5+
56
# pyinseq
67

8+
### Disclaimer
9+
10+
A new version of `pyinseq` that works with `snakemake` will be released on `bioconda` in the Summer of 2021
11+
12+
### About
13+
714
Lightweight package to map transposon insertion sequencing (INSeq) data in
815
bacteria.
916

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
site_name: pyinseq
22
theme: cinder
3-
copyright: 2015-2018 Mark Mandel and Contributors
3+
copyright: 2015-2021 Mark Mandel and Contributors
44

55
nav:
66
- Home: index.md

pyinseq/runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ def demultiplex_parse_args(args):
109109
)
110110
parser.add_argument(
111111
"--barcode_length",
112-
help="Length of the barcode which is used to demultiplex samples (4 - 16)",
112+
help="Length of the barcode which is used to demultiplex samples (4 - 16 nt). Default is 4.",
113113
default=4,
114114
)
115115
parser.add_argument(
116116
"--transposon_seq",
117-
help="Sequence for the transposon that flanks reads",
117+
help="Sequence for the transposon that flanks reads. Default is ACAGGTTG.",
118118
default="ACAGGTTG",
119119
)
120120
return parser.parse_args(args)

0 commit comments

Comments
 (0)