Skip to content

Commit d7c3202

Browse files
author
gitliver
committed
small fixes
1 parent 8a97dca commit d7c3202

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ doc/*.pdf
1212
*.DS_Store
1313
notes
1414
tmp*
15+
old

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The following programs must be in your `PATH`:
2424
Pandora depends on the following Python modules:
2525

2626
- [Biopython](http://biopython.org/wiki/Main_Page)
27-
- [Pandas](http://pandas.pydata.org/)
27+
- [Pandas >= 0.20.1](http://pandas.pydata.org/) (note: older versions of Pandas, such as 0.18.1, will throw an error)
2828
- scipy
2929

3030
The exact list, with versions, is provided in the `requirements.txt` file.

pandora.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def get_arg():
155155
args.steps += '6'
156156

157157
# cast as various bools as ints
158-
for name in 'gzip verbose noclean noSGE orfblast'.split():
158+
for name in 'gzip verbose noclean noSGE orfblast hpc'.split():
159159
setattr(args, name, int(getattr(args, name, 0)))
160160

161161
# set bam file to abs path
@@ -245,8 +245,8 @@ def scan_main(args):
245245
d = {
246246
'1': '{args.scripts}/scripts/host_separation.py --scripts {args.scripts} -1 {args.mate1} -2 {args.mate2} --bam {args.bam} --threads {args.map_threads} --single {args.single} --refstar {args.refstar} --refbowtie {args.refbowtie} --gzip {args.gzip} --verbose {args.verbose} --noclean {args.noclean} --gtf {args.gtf}'.format(args=args),
247247
'2': '{args.scripts}/scripts/assembly.py --scripts {args.scripts} --single {args.single} --trinitymem {args.trinitymem} --trinitycores {args.trinitycores} --trinitythreshold {args.trinitycontigthreshold} --verbose {args.verbose} --noclean {args.noclean}'.format(args=args),
248-
'3': '{args.scripts}/scripts/blast_wrapper.py --scripts {args.scripts} --threshold {args.contigthreshold} --db {args.blastdb} --threads {args.blast_threads} --id {args.identifier} --filelength {args.blastchunk} --verbose {args.verbose} --noclean {args.noclean} --nosge {args.noSGE}'.format(args=args),
249-
'4': '{args.scripts}/scripts/orf_discovery.py --scripts {args.scripts} --id {args.identifier} --threshold {args.orfthreshold} --db {args.pblastdb} --blast {args.orfblast} --verbose {args.verbose} --noclean {args.noclean} --hpc {args.hpc}'.format(args=args),
248+
'3': '{args.scripts}/scripts/blast_wrapper.py --scripts {args.scripts} --threshold {args.contigthreshold} --db {args.blastdb} --threads {args.blast_threads} --id {args.identifier} --filelength {args.blastchunk} --verbose {args.verbose} --noclean {args.noclean} --nosge {args.noSGE} --hpc {args.hpc}'.format(args=args),
249+
'4': '{args.scripts}/scripts/orf_discovery.py --scripts {args.scripts} --id {args.identifier} --threshold {args.orfthreshold} --db {args.pblastdb} --blast {args.orfblast} --verbose {args.verbose} --noclean {args.noclean}'.format(args=args),
250250
'5': '{args.scripts}/scripts/makereport.py --scripts {args.scripts} --id {args.identifier} --verbose {args.verbose} --blacklist {args.blacklist} --taxid2names {args.taxid2names}'.format(args=args),
251251
'6': '{args.scripts}/scripts/makereport.py --outputdir report_ifilter --input blast/ifilter.concat.txt --scripts {args.scripts} --id {args.identifier} --verbose {args.verbose} --blacklist {args.blacklist} --taxid2names {args.taxid2names}'.format(args=args)
252252
}

0 commit comments

Comments
 (0)