If no pathogenic microbes are listed in results/KRAKENUNIQ/{sample}/taxID.pathogens the MapDamage rule fails. Perhaps just a simple if-statement would help to skip this rule entirely in case the results/KRAKENUNIQ/{sample}/taxID.pathogens is empty? Like this:
If no pathogenic microbes are listed in
results/KRAKENUNIQ/{sample}/taxID.pathogens
the MapDamage rule fails. Perhaps just a simple if-statement would help to skip this rule entirely in case theresults/KRAKENUNIQ/{sample}/taxID.pathogens
is empty? Like this: