Skip to content

Commit

Permalink
allow secondary
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimens committed Aug 15, 2024
1 parent 2cd345c commit a5786d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions harpy/snakefiles/align_strobealign.smk
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ rule align:
f"{envdir}/align.yaml"
shell:
"""
strobealign {params.readlen} -t {threads} {params.unmapped_strobe} -C --rg-id={wildcards.sample} --rg=SM:{wildcards.sample} {params.extra} {input.genome} {input.fastq} 2> {log} |
strobealign {params.readlen} -N 2 -t {threads} {params.unmapped_strobe} -C --rg-id={wildcards.sample} --rg=SM:{wildcards.sample} {params.extra} {input.genome} {input.fastq} 2> {log} |
samtools view -h {params.unmapped} -q {params.quality} > {output}
"""

Expand Down Expand Up @@ -258,7 +258,7 @@ rule workflow_summary:
_ = f.write("The genome index was created using:\n")
_ = f.write(f" strobealign --create-index -r {params.readlen} genome\n")
_ = f.write("Sequencing were aligned with strobealign using:\n")
_ = f.write(f" strobealign --use-index {params.unmapped_strobe} -C --rg=SM:SAMPLE {params.extra} genome reads.F.fq reads.R.fq |\n")
_ = f.write(f" strobealign --use-index {params.unmapped_strobe} -N 2 -C --rg=SM:SAMPLE {params.extra} genome reads.F.fq reads.R.fq |\n")
_ = f.write(f" samtools view -h {params.unmapped} -q {params.quality}\n")
_ = f.write("Duplicates in the alignments were marked following:\n")
_ = f.write(" samtools collate |\n")
Expand Down

0 comments on commit a5786d3

Please sign in to comment.