Question: weird python error
0
gravatar for 2405592M
14 months ago by
2405592M100
2405592M100 wrote:

Hi people!

I downloaded this program and I'm trying to generate a tRNA database but I keep getting the following error:

Traceback (most recent call last):
  File "maketrnadb.py", line 73, in <module>
    getmaturetrnas.main(trnascan=[scanfile], genome=genomefile,gtrnafa=gtrnafafile,bedfile=dbname+"-maturetRNAs.bed",maturetrnatable=dbname+"-trnatable.txt",trnaalignment=dbname+"-trnaalign.stk",locibed=dbname+"-trnaloci.bed",maturetrnafa=dbname+"-maturetRNAs.fa")
  File "/mnt/data/BMOHAMED/TRAX/tRAX-master/getmaturetrnas.py", line 113, in main
    cmrun = subprocess.Popen(cmcommand, stdout = devnull)
  File "/home/bmohamed/miniconda2/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/home/bmohamed/miniconda2/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

I can't figure out what file/directory (if any) is missing.

Please Help !!

Thanks in advance

oserror python • 313 views
ADD COMMENTlink modified 3 months ago by Biostar ♦♦ 20 • written 14 months ago by 2405592M100

What command are you calling? It sounds like you're missing arguments.

ADD REPLYlink written 14 months ago by jared.andrews078.4k
0
gravatar for bioinformatics2020
14 months ago by
bioinformatics2020570 wrote:

Just by looking at the maketrnadb command, you're either missing one of the required files, or it's in a different directory than the one you are calling the script from.

maketrnadb.py --databasename=dbname --genomefile=genome.fa --trnascanfile=trnascan.txt --gtrnafafile=db-tRNAs.fa
ADD COMMENTlink written 14 months ago by bioinformatics2020570
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1950 users visited in the last hour
_