Skip to content

Commit

Permalink
Remove unused param
Browse files Browse the repository at this point in the history
  • Loading branch information
seppinho committed Jun 18, 2024
1 parent af2496c commit ea4c12a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/local/lift_over.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ process LIFT_OVER {
//publishDir "${params.outdir}/aggRSquare", mode: 'copy', pattern: '*aggRSquare'

input:
tuple val(chr), val(array_name), path(dosage_data), path(sequence_data)
tuple val(chr), path(dosage_data), path(sequence_data)

output:
tuple val(chr), val(array_name), path(dosage_data), path("${sequence_data.baseName}.liftover.vcf.gz"), emit: sequence_data_lifted
tuple val(chr), path(dosage_data), path("${sequence_data.baseName}.liftover.vcf.gz"), emit: sequence_data_lifted

script:
def chain_file = (params.sequence_build == 'hg19' ? "/opt/imputationserver/chains/hg19ToHg38.over.chain.gz" : '/opt/imputationserver/chains/hg38ToHg19.over.chain.gz')
Expand Down
19 changes: 19 additions & 0 deletions tests/microarray.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,23 @@ nextflow_pipeline {

}

test("Rsq calculation for hg19/hg38") {

when {
params {
project = "r2_calculation_hg19"
workflow_name = "r2"
imputation_build = "hg19"
sequence_build = "hg38"
imputed_data = "$projectDir/tests/data/imputed_data/hg19/*vcf.gz"
sequence_data = "$projectDir/tests/data/sequence_data/hg38/*vcf.gz"
}
}

then {
assert workflow.success
}

}

}

0 comments on commit ea4c12a

Please sign in to comment.