Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
working on orthofinder implementation
  • Loading branch information
proost committed Jun 14, 2016
1 parent b8db578 commit 0b943ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipeline/orthology.py
@@ -1,6 +1,6 @@
import os
import subprocess
from shutil import copyfile
from shutil import copy

from cluster import wait_for_job

Expand All @@ -26,7 +26,7 @@ def run_orthofinder(self):
"orthofinder_%d.sh")

for g in self.genomes:
copyfile(self.dp[g]['protein_fasta'], os.path.join(orthofinder_dir, g + '.fasta'))
copy(self.dp[g]['protein_fasta'], os.path.join(orthofinder_dir, g + '.fasta'))

subprocess.call(["qsub", "-pe", "cores", orthofinder_cores, "-v", "fasta_dir=" + orthofinder_dir + ",num_cores=" + orthofinder_cores, filename])

Expand Down

0 comments on commit 0b943ce

Please sign in to comment.