Skip to content
Snippets Groups Projects
Commit 861b7993 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Fix missing libraries and use of python3.

parent 758cf363
Branches
Tags
1 merge request!5Resolve "Add mapping and trimming"
Pipeline #1037 canceled with stage
......@@ -119,12 +119,12 @@ process alignReads {
if (pairedEnd) {
"""
python $baseDir/scripts/map_reads.py -f ${reads[0]} ${reads[1]} -r ${index}/genome.fa -p
python3 $baseDir/scripts/map_reads.py -f $reads -r ${index}/genome.fa -p
"""
}
else {
"""
python $baseDir/scripts/map_reads.py -f ${reads[0]} -r ${index}/genome.fa
python3 $baseDir/scripts/map_reads.py -f $reads -r ${index}/genome.fa
"""
}
......
......@@ -6,6 +6,7 @@ import os
import subprocess
import argparse
import shutil
import shlex
import logging
import sys
from multiprocessing import cpu_count
......@@ -74,7 +75,7 @@ def check_tools():
logger.info('Checking for required libraries and components on this system')
bwa_path = shutil.which("bwa")
if trimgalore_path:
if bwa_path:
logger.info('Found bwa: %s', bwa_path)
else:
logger.error('Missing bwa')
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment