Skip to content

Commit 8abcdb9

Browse files
committed
bad bug corrected: bowtie2 command was wrong !
1 parent 067aa46 commit 8abcdb9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/repenrich2/RepEnrich2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def run_bowtie(args):
110110
write to files to save memory
111111
'''
112112
metagenome, fastqfile = args
113-
b_opt = "-k 1 -p 1 --quiet --no-hd"
113+
b_opt = "-k 1 -p 1 --quiet --no-hd --no-unal"
114114
command = shlex.split(f"bowtie2 {b_opt} -x {metagenome} {fastqfile}")
115115
bowtie_align = subprocess.run(command, check=True,
116116
capture_output=True, text=True).stdout
@@ -148,6 +148,7 @@ def run_bowtie(args):
148148
repeats_by_reads[read].append(repname)
149149
for repname in repeats_by_reads:
150150
repeats_by_reads[repname] = list(set(repeats_by_reads[repname]))
151+
# this repeats_by_reads dictionary is far too big
151152

152153
# 3 dictionnaries and 1 pointer variable to be populated
153154
fractionalcounts = defaultdict(float)

0 commit comments

Comments
 (0)