Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xapple committed Aug 12, 2015
1 parent 47cd17d commit 8c9f7c9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gefes/annotation/prodigal.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ def run(self, cpus=None):
# Variable threads #
if cpus is None: cpus = num_processors
# Run it #
sh.prokka('-i', self.contig.fasta,
'-o', self.p.gbk,
'-a', self.p.faa,
'-p', 'anon')
sh.prodigal('-i', self.contig.fasta,
'-o', self.p.gbk,
'-a', self.p.faa,
'-p', 'anon')

@property_cached
def results(self):
Expand Down
8 changes: 8 additions & 0 deletions scripts/projects/soda_rerun/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,14 @@
proj.runner.run_slurm(steps=['assembly_81.results.binner.run'], job_name=proj.name+'_bin_81', **params)
proj.runner.run_slurm(steps=['merged.results.binner.run'], job_name=proj.name+'_bin_04', **params)

################################## Prokka #####################################
print "Prokka for project '%s', assembly '%s'" % (proj.name, proj.merged)
for c in tqdm(proj.merged.results.contigs): c.annotation.run(cpus=4)

################################## Prodigal #####################################
print "Prokka for project '%s', assembly '%s'" % (proj.name, proj.merged)
for c in tqdm(proj.merged.results.contigs): c.proteins.run()

################################## Plots ######################################
for s in tqdm(samples):
print "Plots for sample '%s'" % s.name
Expand Down

0 comments on commit 8c9f7c9

Please sign in to comment.