Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yuukiiwa committed Oct 9, 2023
1 parent 791f9dd commit e994f27
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions subworkflows/local/align_graphmap2.nf
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,12 @@ workflow ALIGN_GRAPHMAP2 {

GRAPHMAP2_ALIGN ( ch_alignment_input, ch_reference, ch_reference_index )
GRAPHMAP2_ALIGN.out.sam
.map { it -> [ it[0], it[1], [] ] }
.map { it -> [ it[0], it[1], it[1] ] }
.set { ch_samtools_input }
ch_samtools_input
.map { it -> it[2] }
.set { ch_notneeded_fasta }
ch_samtools_input
.map { it -> it[2] }
.set { ch_notneeded_qname }
SAMTOOLS_VIEW ( ch_samtools_input, ch_notneeded_fasta, ch_notneeded_qname )
SAMTOOLS_VIEW ( ch_samtools_input, ch_fasta, ch_notneeded_qname )
SAMTOOLS_SORT ( SAMTOOLS_VIEW.out.bam )
ch_sorted_bam = SAMTOOLS_SORT.out.bam
SAMTOOLS_INDEX ( ch_sorted_bam )
Expand Down

0 comments on commit e994f27

Please sign in to comment.