Skip to content

Commit

Permalink
env python
Browse files Browse the repository at this point in the history
  • Loading branch information
mmiladi committed Mar 19, 2017
1 parent 2787e56 commit 71a001b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
7 changes: 4 additions & 3 deletions runner.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python2
import sys
from Bio import SeqIO
from Bio.SeqRecord import SeqRecord
Expand Down Expand Up @@ -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])
Expand Down Expand Up @@ -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]]:
Expand Down
5 changes: 0 additions & 5 deletions submit_to_cluster.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 71a001b

Please sign in to comment.