Skip to content

Commit

Permalink
Fixed Bowtie2 option
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianThibord committed Mar 10, 2022
1 parent 7598fad commit 591afa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimir/libs/library_preparation.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

## Build alignment index with bowtie2-build
def make_index(BOWTIE2_BUILD, index_path, fasta_file):
command_line = ("{} -f {} {} -q".format(BOWTIE2_BUILD, fasta_file, index_path))
command_line = ("{} -q -f {} {}".format(BOWTIE2_BUILD, fasta_file, index_path))
ret_code = subprocess.call(command_line, shell=True)
if ret_code != 0:
raise Except_OS_Pipe('Bowtie2 index creation failed: command line = {}'.format(command_line))
Expand Down

0 comments on commit 591afa5

Please sign in to comment.