Skip to content

Commit 342b2de

Browse files
committed
RLS Version 1.5.0
The two big changes are: 1. the ability to use Yaml files to specify samples, 2. the introduction of `run_for_all` (and `run_for_all_samples`) functions to simplify the usage of the `parallel` module. Several of the other changes were then to support these two features. Additionally, some minor fixes and improvements were made. Full ChangeLog: - Add `load_sample_list` function to load samples in YAML format. - Add `compress_level` argument to `write` function to specify the compression level. - Added `name()` method to `ReadSet` objects, so you can do: input = load_fastq_directory("my-sample") print(input.name()) which will print `my-sample`. - Added `println` function which works like `print` but prints a newline after the output. - Make `print()` accept ints and doubles as well as strings. - Added `run_for_all` function to `parallel` module, simplifying its API. - When using the `parallel` module and a job fails, writes the log to the corresponding `.failed` file. - External modules can now use the `sequenceset` type to represent a FASTA file. - The `load_fastq_directory` function now supports `.xz` compressed files. - The `parallel` module now checks for stale locks **before** re-trying failed tasks. The former model could lead to a situation where a particular sample failed deterministically and then blocked progress even when some locks were stale. Bugfixes - The `parallel` module should generate a `.failed` file for each failed job, but this was not happening in every case. - Fixed parsing of GFF files to support negative values (reported by Josh Sekela on the mailing-list).
1 parent 7c1e092 commit 342b2de

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

ChangeLog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Version 1.5.0
1+
Version 1.5.0 2022-09-14 by luispedro
22
* Add `compress_level` option to `write()` function
33
* Add ability to specify samples using YAML format
44
* Make 'assemble' return NGLSequenceSet type and add sequenceset to

NGLess/Version.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ versionStrLong :: String
2020
versionStrLong = "1.5.0"
2121

2222
dateStr :: String
23-
dateStr = "Unreleased"
23+
dateStr = "14 September 2022"
2424

2525
embeddedStr :: String
2626
#ifdef NO_EMBED_SAMTOOLS_BWA

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ If you are using NGLess, please cite:
2424

2525
## Example
2626

27-
ngless "1.4"
27+
ngless "1.5"
2828
input = fastq(['ctrl1.fq','ctrl2.fq','stim1.fq','stim2.fq'])
2929
input = preprocess(input) using |read|:
3030
read = read[5:]
@@ -55,21 +55,21 @@ The recommended way to install NGLess is through
5555
Alternatively, a docker container with NGLess is available at
5656
[docker hub](https://hub.docker.com/r/nglesstoolkit/ngless):
5757

58-
docker run -v $PWD:/workdir -w /workdir -it nglesstoolkit/ngless:1.4.2 ngless --version
58+
docker run -v $PWD:/workdir -w /workdir -it nglesstoolkit/ngless:1.5.0 ngless --version
5959

6060
Adapt the mount flags (``-v``) as needed.
6161

6262
### Linux
6363

6464
You can download a [statically linked version of NGless
65-
1.4.2](https://github.com/ngless-toolkit/ngless/releases/download/v1.4.2/NGLess-v1.4.2-Linux-static-full)
65+
1.5.0](https://github.com/ngless-toolkit/ngless/releases/download/v1.5.0/NGLess-v1.5.0-Linux-static-full)
6666

6767
This should work across a wide range of Linux versions (please
6868
[report](https://github.com/ngless-toolkit/ngless/issues) any issues you encounter):
6969

70-
curl -L -O https://github.com/ngless-toolkit/ngless/releases/download/v1.4.2/NGLess-v1.4.2-Linux-static-full
71-
chmod +x NGLess-v1.4.2-Linux-static-full
72-
./NGLess-v1.4.2-Linux-static-full
70+
curl -L -O https://github.com/ngless-toolkit/ngless/releases/download/v1.5.0/NGLess-v1.5.0-Linux-static-full
71+
chmod +x NGLess-v1.5.0-Linux-static-full
72+
./NGLess-v1.5.0-Linux-static-full
7373

7474
This downloaded file bundles bwa, samtools and megahit (also statically linked).
7575

@@ -130,7 +130,7 @@ For developers who have done this much more datasets for testing purposes can be
130130
- [Frequently Asked Questions (FAQ)](https://ngless.embl.de/faq.html)
131131
- [ngless mailing list](https://groups.google.com/forum/#!forum/ngless)
132132
- [What's new log](https://ngless.embl.de/whatsnew.html)
133-
- [NGless 1.4.0 Release Documentation](https://ngless.embl.de/whatsnew.html#version-1-4-0)
133+
- [NGless 1.5.0 Release Documentation](https://ngless.embl.de/whatsnew.html#version-1-5-0)
134134

135135
## Authors
136136

docs/sources/whatsnew.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
What's New (History)
33
====================
44

5-
Unreleased (Github version)
6-
---------------------------
5+
Version 1.5.0
6+
-------------
7+
8+
*Released on September 14 2022*
79

810
The two big changes are:
911

1012
1. the ability to use `Yaml <yaml-list.html`__ files to specify samples,
11-
2. the introduction of ``run_for_all`` (and ``run_for_all_samples``) functions to simplify the usage of the ``parallel`` module (see `standard library docs <stdlib.html>`__.
13+
2. the introduction of ``run_for_all`` (and ``run_for_all_samples``) functions to simplify the usage of the ``parallel`` module (see `standard library docs <stdlib.html>`__).
1214

1315
Several of the other changes were then to support these two features.
1416
Additionally, some minor fixes and improvements were made.

0 commit comments

Comments
 (0)