Skip to content

Commit

Permalink
Fix R scripts (#16)
Browse files Browse the repository at this point in the history
* chmod +x
* add correct path to Rscript
* update CHANGELOG
  • Loading branch information
maxulysse authored Jun 24, 2019
1 parent 89cac8b commit 10eff4e
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Initial release of `nf-core/sarek`, created with the [nf-core](http://nf-co.re/)
- [#12](https://github.com/nf-core/sarek/pull/12) - Simplify `check_max()` function
- [#13](https://github.com/nf-core/sarek/pull/13) - Merge `BamQCmapped` and `BamQCrecalibrated` processes into `BamQC` process
- [#13](https://github.com/nf-core/sarek/pull/13) - Split `CompressVCF` process into `CompressVCFsnpEff` and `CompressVCFvep` processes
- [#16](https://github.com/nf-core/sarek/pull/16) - Make scripts in `bin/` and `scripts/` executable

### `Removed`

Expand All @@ -63,6 +64,8 @@ Initial release of `nf-core/sarek`, created with the [nf-core](http://nf-co.re/)
- [#3](https://github.com/nf-core/sarek/pull/3) - Fix Docker ownership
- [#11](https://github.com/nf-core/sarek/pull/11) - Fix MergeMpileup PublishDir
- [#13](https://github.com/nf-core/sarek/pull/13) - Fix merge in annotation
- [#14](https://github.com/nf-core/sarek/pull/14) - Fix output name for vcf files
- [#16](https://github.com/nf-core/sarek/pull/16) - Fix path to Rscript

## [2.3.FIX1] - 2019-03-04

Expand Down
Empty file modified bin/convertAlleleCounts.r
100644 → 100755
Empty file.
Empty file modified bin/run_ascat.r
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ process ConvertAlleleCounts {
script:
gender = genderMap[idPatient]
"""
convertAlleleCounts.r ${idSampleTumor} ${alleleCountTumor} ${idSampleNormal} ${alleleCountNormal} ${gender}
Rscript ${workflow.projectDir}/bin/convertAlleleCounts.r ${idSampleTumor} ${alleleCountTumor} ${idSampleNormal} ${alleleCountNormal} ${gender}
"""
}

Expand Down Expand Up @@ -1387,7 +1387,7 @@ process Ascat {
"""
# get rid of "chr" string if there is any
for f in *BAF *LogR; do sed 's/chr//g' \$f > tmpFile; mv tmpFile \$f;done
run_ascat.r ${bafTumor} ${logrTumor} ${bafNormal} ${logrNormal} ${idSampleTumor} ${baseDir} ${acLociGC}
Rscript ${workflow.projectDir}/bin/run_ascat.r ${bafTumor} ${logrTumor} ${bafNormal} ${logrNormal} ${idSampleTumor} ${baseDir} ${acLociGC}
"""
}

Expand Down
Empty file modified scripts/ascat.R
100644 → 100755
Empty file.
Empty file modified scripts/filter_locifile.py
100644 → 100755
Empty file.
Empty file modified scripts/selectROI.py
100644 → 100755
Empty file.

0 comments on commit 10eff4e

Please sign in to comment.