Skip to content

Commit

Permalink
make hdf5
Browse files Browse the repository at this point in the history
  • Loading branch information
rbpisupati committed Aug 8, 2018
1 parent 04e4365 commit 71742b7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
19 changes: 19 additions & 0 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,25 @@ if(params.aligner == 'methylpy'){

}

/*
Make hdf5 files for the allc
*/
process make_hdf5 {
tag { "$name" }
publishDir "${params.outdir}/hdf5", mode: 'copy'

input:
set val(name), file(allc) from allc

output:
set val(name), file("*hdf5") into hdf5_out

script:
"""
bshap methylation_percentage -i $allc -a new -b Chr1,1,100 -o temp -v
"""
}

/*
SNP calling from the methylpy
*/
Expand Down
16 changes: 16 additions & 0 deletions methylpyDiffGenomes.nf
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,22 @@ process bam_index {
"""
}

process make_hdf5 {
tag { "${accID}_$allc" }
publishDir "${params.outdir}/hdf5", mode: 'copy'

input:
set val(accID), file(allc) from allc

output:
set val(accID), file("*hdf5") into hdf5_out

script:
"""
bshap methylation_percentage -i $allc -a new -b Chr1,1,100 -o temp -v
"""
}

/*
* STEP 8 - Qualimap
process qualimap {
Expand Down

0 comments on commit 71742b7

Please sign in to comment.