Skip to content

Commit

Permalink
copy IRMA from container (fix #7)
Browse files Browse the repository at this point in the history
  • Loading branch information
DOH-JDJ0303 committed Jun 20, 2024
1 parent bc58150 commit ed295e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/local/irma.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ process IRMA {
stageInMode 'copy'

container "docker.io/staphb/irma:1.1.4"
//containerOptions = "${ workflow.containerEngine == 'singularity' || workflow.containerEngine == 'apptainer' ? '--writable-tmpfs' : '' }"

input:
tuple val(meta), path(refs), path(reads)
Expand Down Expand Up @@ -58,7 +57,7 @@ process IRMA {
esac
## set QC thresholds
echo -e 'MIN_AMBIG=${params.cons_ratio}\nMIN_CONS_SUPPORT=${params.cons_depth}\nMIN_CONS_QUALITY=${params.cons_qual}\nDEL_TYPE=${ params.cons_amb == 'N' ? 'NNN' : params.cons_amb }' >> irma.config
# set elongation option
## set elongation option
echo -e 'SKIP_E=${ params.cons_elong ? '1' : '0' }' >> irma.config
# combine references into single file
Expand Down Expand Up @@ -89,6 +88,6 @@ process IRMA {
done
# clean up
rm -r \${irma_path}_RES/modules/\${mod}
#rm -r \${irma_path}_RES/modules/\${mod}
"""
}

0 comments on commit ed295e3

Please sign in to comment.