Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
proost committed May 3, 2017
2 parents 216b2f8 + 0c3a84d commit 9504f59
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -94,7 +94,7 @@ for LSTrAP can be generated.

## Adapting LSTrAP to other cluster managers

LSTrAP is designed and tested on an Oracle Grid Engine, though with minimal effort it can be adopted to run on PBS and Torque
LSTrAP is designed and tested on a cluster running the Oracle Grid Engine, though with minimal effort it can be adopted to run on PBS and Torque
based systems (and likely others). First, in the configuration file, check the qsub parameters (e.g. jobs that require multiple
CPUs to run *-pe cores 4*), that differ between systems are set up properly (the nodes and cores on Torque and PBS need to be
set using *-l nodes=4:ppn=2* to request 4 nodes with 2 processes per node).
Expand Down
2 changes: 1 addition & 1 deletion helper/htseq_count_stats.py
Expand Up @@ -23,7 +23,7 @@
mapped_reads = 0

for line in fin:
gene, value = line.strip().split()
gene, value = line.strip().rsplit(maxsplit=1)

if gene not in quality_fields:
mapped_reads += int(value)
Expand Down
2 changes: 1 addition & 1 deletion pipeline/check/quality.py
Expand Up @@ -46,7 +46,7 @@ def check_htseq(filename, cutoff=0, log=None):
with open(filename) as fin:
mapped_reads = 0
for line in fin:
gene, value = line.strip().split()
gene, value = line.strip().rsplit(maxsplit=1)

if gene not in quality_fields:
mapped_reads += int(value)
Expand Down

0 comments on commit 9504f59

Please sign in to comment.