From 71a001b2c0b4b72f6f5637488696b9235e3bcba6 Mon Sep 17 00:00:00 2001 From: Milad Miladi Date: Sun, 19 Mar 2017 11:29:04 +0100 Subject: [PATCH] env python --- runner.py | 7 ++++--- submit_to_cluster.sh | 5 ----- 2 files changed, 4 insertions(+), 8 deletions(-) mode change 100644 => 100755 runner.py diff --git a/runner.py b/runner.py old mode 100644 new mode 100755 index 83c498e..f6fb89c --- a/runner.py +++ b/runner.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python2 import sys from Bio import SeqIO from Bio.SeqRecord import SeqRecord @@ -26,10 +27,10 @@ edenrna_src_dir = os.path.join(edenrna_root_dir) sys.path = [edenrna_src_dir] + sys.path -from RaSE import make_fold, make_fold_vectorize +#from RaSE import make_fold, make_fold_vectorize def main(argv): - + print sys.argv input_file = sys.argv[1] output_file_prefix = sys.argv[2] window = int(sys.argv[3]) @@ -59,7 +60,7 @@ def main(argv): ranges.append(total_size) print 'rangesB: ', ranges print 'runner on range: ', ranges[split_id], ranges[split_id+1] - runRnasnp = False + runRnasnp = True#False runRemurna = True#False runRase = False for fasta in fasta_sequences[ranges[split_id]: ranges[split_id+1]]: diff --git a/submit_to_cluster.sh b/submit_to_cluster.sh index f8579a3..60460b8 100755 --- a/submit_to_cluster.sh +++ b/submit_to_cluster.sh @@ -1,13 +1,8 @@ #!/bin/bash #$ -cwd #$ -l h_vmem=1G -# -l nice_cpu=1 -# -m ea -# -l h_cpu=2:0:0 -# -l h_rt=3:0:0 - export PATH=/home/miladim/miniconda2/bin:$PATH