wani sajad
05/30/2024, 8:35 PMJose Espinosa-Carrasco
05/31/2024, 12:12 PMcustom.config and provide the desired tools arguments to the pipeline as you desire as explained here
The --keep_multi_map parameter only controls that multimap reads are not filtered by samtools, see herewani sajad
05/31/2024, 4:08 PMJose Espinosa-Carrasco
06/01/2024, 6:56 AMSlackbot
06/01/2024, 6:56 AMJose Espinosa-Carrasco
06/01/2024, 7:01 AMSTAR and not append them to the current ones, see here,
including --outReadsUnmapped Fastx
So you will also need to provide all of the arguments you need in your custom config, e.g.:
process {
withName: 'STAR_ALIGN' {
// Apply custom STAR aligner parameters
ext.args = '--outFilterMultimapNmax 5000 --outMultimapperOrder Random --outReadsUnmapped Fastx moreArgumentsHere'
}
}wani sajad
06/04/2024, 2:52 PMwani sajad
06/04/2024, 2:52 PMwani sajad
06/04/2024, 2:53 PMwani sajad
06/04/2024, 2:54 PMJose Espinosa-Carrasco
06/04/2024, 8:30 PM.command.sh , this way you will be able to check whether the arguments have been overwritten, if you don’t know how to do it share your .nextflow.log here and I can try to help you, from what I see it seems to me that the arguments should be correctly overwrittenwani sajad
06/05/2024, 3:09 PMwani sajad
06/05/2024, 3:09 PMJose Espinosa-Carrasco
06/06/2024, 11:11 AMprocess {
withName: 'NFCORE_CHIPSEQ:CHIPSEQ:ALIGN_STAR:STAR_ALIGN {
// Custom STAR aligner parameters, including defaults and handling for multimapped reads
ext.args = '--runMode alignReads --alignIntronMax 1 --alignEndsType EndToEnd --outSAMtype BAM Unsorted --readFilesCommand zcat --runRNGseed 0 --outSAMattributes NH HI AS NM MD --outFilterMultimapNmax 5000 --outMultimapperOrder Random --outReadsUnmapped Fastx'
}
}wani sajad
06/07/2024, 3:58 PMwani sajad
06/07/2024, 3:58 PMwani sajad
06/07/2024, 3:59 PMwani sajad
06/07/2024, 4:01 PMJose Espinosa-Carrasco
06/10/2024, 9:22 PMwani sajad
06/11/2024, 12:38 AMwani sajad
06/18/2024, 2:13 PMwani sajad
06/18/2024, 2:14 PMwani sajad
06/18/2024, 2:14 PM