#Example config file 

#---- mandatory ----------------------------------------------------------
# location of the malt indexes
index=/path/to/mal/indexes/databas/Database

#path to taxa List
pathToList=/path/to/taxa/list/list.txt

# path to NCBI.map and ncbi.tre files, which can be downloaded from 
# Daniel Husons Megan github page
# files are available under ${MALTEXTRACT_RESOURCES} once hops modulefile is 
# loaded
# see `module show hops` for exact value
resources=opt/gensoft/exe/hops/0.35/share


#---- atap to suit your needs --------------------------------------------
# shall we use slurm submission. 
#   1 -> yes
#   0 -> no
useSlurm = 1

#################
#MALT Parameters#
#################

# General MALT Parameters
# set Threads for MALT. Builtin Default is 32
# remember to use an allocation that has at least as much proc
threadsMalt=32
# set maximum Memory for MALT in GB!!! adapt to you need eg maxMemoryMalt=650
# this value is set by default to 64G on maestro.
# hops will claim it has not enough memory and let you know the memory 
# requirement when run
# see for example the following error message.
#    INFO: Set Maximum Memory for Malt to default value of 650 GB
#    Sep 21, 2022 1:48:11 PM Utility.ParameterProcessor generateMALTCommandLine
#    SEVERE: HOPS has insuffcient HeapSpace (64GB) to start Malt
#    Please Restart HOPS as hops -Xmx650G -i ...
#    If your System has not enough memory please refer to the HOPS manual 
#    on the github page and the config file section
#maxMemoryMalt=64
# Set slurm partition for malt adapt to suit your needs
partitionMalt=common
#A walltime can be set for MALT if the queue is changed from long to medium. Usually this parameter is neither set nor used. Use this only if you are sure your job can finish in 24 hours!
wallTimeMalt=24:00:00

################################
# MaltExtraxt Slurm Parameters #
################################

#set slurm partition for MaltExtract. adapt to suit your needs
partitionMaltEx=common
#A walltime can be set for MaltExtract if the queue is changed from long to medium. Usually this parameter is neither set nor used. Use this only if you are sure your job can finish in 24 hours!
wallTimeME=24:00:00
#set number of Threads for MaltExtract. Should never be higher than the number of input files!
# remember to use an allocation that has at least as much proc
# by default hops runs MalExtract with 20 threads
threadsMaltEx=20

################################
#PreProcessing Slurm Parameters#
################################

#set slurm partition for postprocessing. adapt to suit your needs
partitionPreProcessing=common
#set walltime for preprocessing
wallTimePreProcessing=24:00:00


#######################
#POST SLURM Parameters#
#######################

#set partition for postprocessing. adapt to suit your needs
partitionPost=common
#set walltime for postprocessing
wallTimePost=24:00:00

#--- se also ${MALTEXTRACT_RESOURCES}/HOPS_Config.txt --------------------
