diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 282e1f4c8ffaa85aded3889fcb7cef2183a0a566..72521f944c5bf363724de8c172cf915da30facc8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,7 @@ single_end_mouse: only: - master script: - - nextflow run workflow/main.nf --astrocyte 'false' -resume + - nextflow run workflow/main.nf --astrocyte 'true' -resume - pytest -m singleend artifacts: expire_in: 2 days diff --git a/astrocyte_pkg.yml b/astrocyte_pkg.yml index 4118a74b75a8353da32906af61c8385a19a19ee7..1b71610d1d861001f790e04dff6807f444aab448 100644 --- a/astrocyte_pkg.yml +++ b/astrocyte_pkg.yml @@ -108,7 +108,7 @@ workflow_parameters: end to the other, generating the sequence of base pairs. In paired-end reading it starts at one read, finishes this direction at the specified read length, and then starts another round of reading from the opposite - end of the fragment. + end of the fragment. (Paired-end: True, Single-end: False) - id: design type: file diff --git a/workflow/main.nf b/workflow/main.nf index a00ec5717956483b23a1f555235d23cac3862e99..f10e577eb41a9b73b8c8ff142a8ab5f9c51ae8e4 100644 --- a/workflow/main.nf +++ b/workflow/main.nf @@ -22,9 +22,9 @@ params.multiqc = "$baseDir/conf/multiqc_config.yaml" if (params.astrocyte) { print("Running under astrocyte") referenceLocation = "/project/shared/bicf_workflow_ref" - params.bwaIndex = "$referenceLocation/$genome" - params.chromSizes = "$referenceLocation/$genome/genomefile.txt" - params.fasta = "$referenceLocation/$genome/genome.fa.txt" + params.bwaIndex = "$referenceLocation/$params.genome" + params.chromSizes = "$referenceLocation/$params.genome/genomefile.txt" + params.fasta = "$referenceLocation/$params.genome/genome.fa.txt" if (params.genome == 'GRCh37' || params.genome == 'GRCh38') { params.genomeSize = 'hs' } else if (params.chromSizes == 'GRCm38') {