Skip to content

Commit

Permalink
add bed file for mosdepth
Browse files Browse the repository at this point in the history
  • Loading branch information
rannick committed Oct 18, 2023
1 parent 0f94b46 commit dd78863
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
5 changes: 0 additions & 5 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,6 @@ process {
ext.when = { !params.skip_qc && !params.fusioninspector_only && (params.starfusion || params.all)}
}

withName: REFORMAT {
ext.args = "forcetrimright=75"
ext.args2 = "forcetrimleft=75"
}

withName: SAMPLESHEET_CHECK {
publishDir = [
path: { "${params.outdir}/pipeline_info" },
Expand Down
2 changes: 1 addition & 1 deletion subworkflows/local/fusioninspector_workflow.nf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ workflow FUSIONINSPECTOR_WORKFLOW {
ch_versions = Channel.empty()
index ="${params.starfusion_ref}"

ch_fusion_list = ( params.fusioninspector_filter ? fusion_list_filtered : fusion_list )
ch_fusion_list = ( params.tools_cutoff > 1 ? fusion_list_filtered : fusion_list )
.branch{
no_fusions: it[1].size() == 0
fusions: it[1].size() > 0
Expand Down
3 changes: 2 additions & 1 deletion subworkflows/local/qc_workflow.nf
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ workflow QC_WORKFLOW {
ch_fasta
ch_fai
ch_rrna_interval
ch_rrna_intervals_bed

main:
ch_versions = Channel.empty()

MOSDEPTH(ch_bam_sorted_indexed.combine(intervals.map{ meta, bed -> [ bed?:[] ] }), ch_fasta)
MOSDEPTH(ch_bam_sorted_indexed.combine(ch_rrna_intervals_bed.map{ meta, bed -> [ bed?:[] ] }), ch_fasta)
ch_versions = ch_versions.mix(MOSDEPTH.out.versions)
ch_mosdepth_summary = Channel.empty().mix(MOSDEPTH.out.summary_txt)
ch_mosdepth_global = Channel.empty().mix(MOSDEPTH.out.global_txt)
Expand Down
3 changes: 2 additions & 1 deletion workflows/rnafusion.nf
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ workflow RNAFUSION {
ch_refflat,
ch_fasta,
ch_fai,
ch_rrna_interval
ch_rrna_interval,
ch_rrna_interval_bed
)
ch_versions = ch_versions.mix(QC_WORKFLOW.out.versions.first().ifEmpty(null))

Expand Down

0 comments on commit dd78863

Please sign in to comment.