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

Fix snpEff report (issue with link to txt file) #110

Merged
merged 2 commits into from
Feb 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a

- [#83](https://github.com/nf-core/sarek/pull/83) - Fix some typos in `docs/input.md`
- [#107](https://github.com/nf-core/sarek/pull/107) - Fix linting
- [#110](https://github.com/nf-core/sarek/pull/110) - Fix `snpEff` report issue cf [#106](https://github.com/nf-core/sarek/issues/106)

### `Deprecated`

Expand Down
2 changes: 1 addition & 1 deletion docs/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ For all samples:
- RAW statistics used by MultiQC
- `VariantCaller_Sample_snpEff.html`
- Statistics to be visualised with a web browser
- `VariantCaller_Sample_snpEff.txt`
- `VariantCaller_Sample_snpEff.genes.txt`
- TXT (tab separated) summary counts for variants affecting each transcript and gene

For further reading and documentation see the [snpEff manual](http://snpeff.sourceforge.net/SnpEff_manual.html#outputSummary)
Expand Down
3 changes: 1 addition & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2949,7 +2949,7 @@ process Snpeff {
val snpeffDb from ch_snpeff_db

output:
set file("${reducedVCF}_snpEff.txt"), file("${reducedVCF}_snpEff.html"), file("${reducedVCF}_snpEff.csv") into snpeffReport
set file("${reducedVCF}_snpEff.genes.txt"), file("${reducedVCF}_snpEff.html"), file("${reducedVCF}_snpEff.csv") into snpeffReport
set variantCaller, idSample, file("${reducedVCF}_snpEff.ann.vcf") into snpeffVCF

when: 'snpeff' in tools || 'merge' in tools
Expand All @@ -2969,7 +2969,6 @@ process Snpeff {
> ${reducedVCF}_snpEff.ann.vcf

mv snpEff_summary.html ${reducedVCF}_snpEff.html
mv ${reducedVCF}_snpEff.genes.txt ${reducedVCF}_snpEff.txt
"""
}

Expand Down