Skip to content

Commit

Permalink
gtfToGenePred now from conda installation
Browse files Browse the repository at this point in the history
  • Loading branch information
ESapenaVentura committed Oct 2, 2023
1 parent b8b54a5 commit af2ddaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions lrgasp_metrics/sqanti3_lrgasp.challenge1.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,9 @@
GMSP_PROG = os.path.join(utilitiesPath, "gmst", "gmst.pl")
GMST_CMD = "perl " + GMSP_PROG + " -faa --strand direct --fnn --output {o} {i}"

GTF2GENEPRED_PROG = os.path.join(utilitiesPath,"gtfToGenePred")
GTF2GENEPRED_PROG = "gtfToGenePred" # Modified to use the package directly from Conda installation
GFFREAD_PROG = "gffread"

if distutils.spawn.find_executable(GTF2GENEPRED_PROG) is None:
print("Cannot find executable {0}. Abort!".format(GTF2GENEPRED_PROG), file=sys.stderr)
sys.exit(1)
if distutils.spawn.find_executable(GFFREAD_PROG) is None:
print("Cannot find executable {0}. Abort!".format(GFFREAD_PROG), file=sys.stderr)
sys.exit(1)
Expand Down
3 changes: 2 additions & 1 deletion lrgasp_metrics/sqanti3_lrgasp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ dependencies:
- pandas
- libcurl
- pyreadr
- jsonschema
- jsonschema
- ucsc-gtftogenepred

0 comments on commit af2ddaa

Please sign in to comment.