gtfToGenePred error #343
Replies: 2 comments 2 replies
-
Hi!did you solve the problem?I encounter the errorsays |
Beta Was this translation helpful? Give feedback.
-
Hi @TheCatalyticMicroChip, |
Beta Was this translation helpful? Give feedback.
-
I am trying to run python sqanti3_qc.py in a linux HPC. I encounter the following error:
(ENV) [user@gra736 SQANTI3-5.2.2]$ python sqanti3_qc.py --gtf B2.collapsed.sorted.gff gencode.mouse_GRCm39.sorted.gtf ~mouse_GRCm39.fasta --fl_count B2.collapsed.abundance.txt sqanti3_qc.py:75: DeprecationWarning: Use shutil.which instead of find_executable if distutils.spawn.find_executable(GTF2GENEPRED_PROG) is None: sqanti3_qc.py:78: DeprecationWarning: Use shutil.which instead of find_executable if distutils.spawn.find_executable(GFFREAD_PROG) is None: Cannot find executable gffread. Abort!
.When I manually changed the script to:
import shutil GTF2GENEPRED_PROG = os.path.join(utilitiesPath,"gtfToGenePred") GFFREAD_PROG = shutil.which("gffread") if not GTF2GENEPRED_PROG: print("Cannot find executable {0}. Abort!".format(GTF2GENEPRED_PROG), file=sys.stderr) sys.exit(-1) if not GFFREAD_PROG: print("Cannot find executable {0}. Abort!".format(GFFREAD_PROG), file=sys.stderr) sys.exit(-1)
I get "Cannot find executable None. Abort!"
Beta Was this translation helpful? Give feedback.
All reactions