Skip to content

Commit

Permalink
fix whitespace issue with parameterization
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsmith5 committed Mar 26, 2019
1 parent be865a8 commit 190d41d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelines/pepatac.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def _align_with_bt2(args, tools, paired, useFIFO, unmap_fq1, unmap_fq2,

if not bt2_opts_txt:
# Default options
bt2_opts_txt = " -k 1" # Return only 1 alignment
bt2_opts_txt = "-k 1" # Return only 1 alignment
bt2_opts_txt += " -D 20 -R 3 -N 1 -L 20 -i S,1,0.50"

# samtools sort needs a temporary directory
Expand Down Expand Up @@ -203,7 +203,7 @@ def _align_with_bt2(args, tools, paired, useFIFO, unmap_fq1, unmap_fq2,

# Build bowtie2 command
cmd = "(" + tools.bowtie2 + " -p " + str(pm.cores)
cmd += bt2_opts_txt
cmd += " " + bt2_opts_txt
cmd += " -x " + assembly_bt2
cmd += " --rg-id " + args.sample_name
cmd += " -U " + unmap_fq1
Expand Down

0 comments on commit 190d41d

Please sign in to comment.