Skip to content

Commit

Permalink
fixed hisat2_extract.. issue with exact path
Browse files Browse the repository at this point in the history
  • Loading branch information
mshakya committed Jul 10, 2017
1 parent 08ad143 commit 24cb950
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ bin/bowtie2
bin/htseq-count
PyPiReT.sublime-workspace
.cache/
thirdParty/JBrowse-1.11.6/*.*
thirdParty/JBrowse-1.11.6/*.*
sftp-config.json
6 changes: 3 additions & 3 deletions pypiret/Runs/Map.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,19 +174,19 @@ def program_args(self):
gff.split("/")[-1].split(".")[0] + ".gtf"
out_file = self.workdir + "/" +\
gff.split("/")[-1].split(".")[0] + ".splice"
return ["hisat2_extract_splice_sites.py",
return [self.bindir + "/../scripts/hisat2_extract_splice_sites.py",
"-i", gtf_file, "-o", out_file]
else:
gtf_file = self.workdir + "/" +\
self.gff_file.split("/")[-1].split(".")[0] + ".gtf"

return ["hisat2_extract_splice_sites.py",
return [self.bindir + "/../scripts/hisat2_extract_splice_sites.py",
"-i", gtf_file, "-o", self.workdir + "/" +
self.gff_file.split("/")[-1].split(".")[0] + ".splice"]

def program_environment(self):
"""Environmental variables for this program."""
return {'PATH': + self.bindir + "../scripts" + ":" + os.environ["PATH"]}
return {'PATH': self.bindir + "/../scripts/" + ":" + os.environ["PATH"]}


# @inherits(FastQC.PairedRunQC)
Expand Down

0 comments on commit 24cb950

Please sign in to comment.