Skip to content

Commit

Permalink
introducing max heap memory limits for the snpeff/snpsift processes
Browse files Browse the repository at this point in the history
  • Loading branch information
nrminor committed Nov 7, 2024
1 parent dac4107 commit dc2fd8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/snpeff.nf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ process ANNOTATE_VCF {
script:
"""
cp ${snpeff_config} local.config && \
snpEff \
snpEff -Xmx1g \
-c local.config \
-dataDir genome/ \
-v ref_genome \
Expand All @@ -77,7 +77,7 @@ process EXTRACT_FIELDS {

script:
"""
SnpSift extractFields \
SnpSift -Xmx1g extractFields \
-s "," \
${vcf} \
CHROM REF POS ALT AF AC DP GEN[0].REF_DP GEN[0].ALT_DP GEN[0].ALT_FREQ MQ ANN[0].GENE ANN[0].EFFECT ANN[0].HGVS_P ANN[0].CDS_POS ANN[0].AA_POS \
Expand Down

0 comments on commit dc2fd8d

Please sign in to comment.