Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set phred encoding when it fails to be determined - trimmomatic #211

Merged
merged 8 commits into from
Sep 15, 2019

Conversation

cimendes
Copy link
Member

Currently, the trimmomatic module fails when the phred encoding is unable to be determined. This can be avoided if the encoding is set to phred33 in these cases. I've tested with a few samples and it works well. It's also what is done in the INNUca pipeline.

@codecov-io
Copy link

codecov-io commented Jul 16, 2019

Codecov Report

Merging #211 into dev will decrease coverage by <.01%.
The diff coverage is 25.64%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #211      +/-   ##
==========================================
- Coverage   41.97%   41.96%   -0.01%     
==========================================
  Files          72       72              
  Lines        6464     6486      +22     
==========================================
+ Hits         2713     2722       +9     
- Misses       3751     3764      +13
Impacted Files Coverage Δ
flowcraft/tests/test_flowcraft.py 100% <ø> (ø)
flowcraft/templates/trimmomatic.py 0% <0%> (ø) ⬆️
flowcraft/generator/components/metagenomics.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8a8574...c22eb0c. Read the comment docs.

@cimendes
Copy link
Member Author

To better mimic innuca's behaviour, if a run fails while the encoding is set to phred33, trimmomatic is retried with the phred64 encoding.

@cimendes cimendes merged commit 658e6db into dev Sep 15, 2019
@cimendes cimendes deleted the phred_trimmomatic branch September 15, 2019 09:14
cimendes added a commit that referenced this pull request Sep 16, 2019
* Dag files (#209)

* move DAG JSON files to the resources directory

* added manifest information to the `nextflow.config` file to allow for remote execution (#204) - Partial solve to #194 issue
- Deprecation of the `manifest.config´ file

* Set phred encoding when it fails to be determined - trimmomatic (#211)

* fix bug publishdir (downsample_fastq component)

* add pphred33 when encoding fails to be determined, if still fails retry with phred64 encoding (trimmomatic component)

* Fix downsample (#222)

* edited file names for downsample fastqs
* stringified depth for file name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants