Rike Hanssen
08/01/2024, 10:18 AM-t 2 -i test.single_end.sorted.bam -i test.paired_end.methylated.sorted.bam -i test.paired_end.sorted.bam --algo ReadWriter
vs
-t 2 -i test.single_end.sorted.bam -i test.paired_end.sorted.bam -i test.paired_end.methylated.sorted.bam --algo ReadWriter the `input` is sorted before the script is run like this def input_str = input.sort().collect{"-i $it"}.join(' ')```
clearly the sort order is not consistent. any groovy experts know why and which would be the correct method to use?Arthur
08/01/2024, 10:33 AMdef input_str = input.sort{ it.getName() }.collect{"-i $it"}.join(' ')
Maybe try this and see if it fixes your issueSimon Pearce
08/01/2024, 10:47 AMArthur
08/01/2024, 10:49 AMSimon Pearce
08/01/2024, 10:50 AMSimon Pearce
08/01/2024, 10:50 AMSimon Pearce
08/01/2024, 10:50 AMArthur
08/01/2024, 10:51 AMAdam Talbot
08/01/2024, 11:02 AMAdam Talbot
08/01/2024, 11:03 AMRike Hanssen
08/01/2024, 12:56 PM