No offset parameter file found for . Using default offset (12).
No input TIS data!
Fri Mar 1 12:35:28 2024 Predicting...
Traceback (most recent call last):
File "/home/lb4489/.conda/envs/ribotish/bin/ribotish", line 56, in <module>
main()
File "/home/lb4489/.conda/envs/ribotish/bin/ribotish", line 34, in main
commands[cmd].run(args)
File "/home/lb4489/.conda/envs/ribotish/lib/python2.7/site-packages/ribotish/run/predict.py", line 236, in run
for result in pred_iter:
File "/home/lb4489/.conda/envs/ribotish/lib/python2.7/site-packages/ribotish/run/predict.py", line 375, in _pred_gene
ribombl = ribo.multiRiboGene(g, ribobampaths, offdict = riboffdict, compatible = compatible, mis = compatiblemis, paired = paired)
File "/home/lb4489/.conda/envs/ribotish/lib/python2.7/site-packages/ribotish/zbio/ribo.py", line 504, in multiRiboGene
mbl.merge(bam.BamLoadChr(bampaths[i], chr = gene.chr, region = regions[gene.chr], strand = gene.strand, posFunc = offunc, maxNH = maxNH, minMapQ = minMapQ, secondary = secondary, paired = paired))
File "/home/lb4489/.conda/envs/ribotish/lib/python2.7/site-packages/ribotish/zbio/bam.py", line 583, in __init__
bamfile = Bamfile(bampath)
File "pysam/calignmentfile.pyx", line 318, in pysam.calignmentfile.AlignmentFile.__cinit__ (pysam/calignmentfile.c:4730)
File "pysam/calignmentfile.pyx", line 388, in pysam.calignmentfile.AlignmentFile._open (pysam/calignmentfile.c:5652)
File "pysam/calignmentfile.pyx", line 534, in pysam.calignmentfile.AlignmentFile._open (pysam/calignmentfile.c:7261)
IOError: file `` not found
Firstly, I generated the offset parameter file in the bam file location and also tried copying the offset parameter file to the current folder. But ribotish doesn't even seem to recognise it automatically, what should I do.
Secondly I don't quite understand how to fix the error reported, I have installed pysam version 0.8.4 using pip, can you help me see what the problem is.
The error says the input file name is empty. What's the content of $FILES?
the offset parameter file is corresponding to the input bam file path. If you link the original bam file to the current folder, the offset file also need to be in the current folder (can be a link).
Dear developer, I am using ribotish to predict ORF from Ribo-seq data, but I am getting some errors while running ribotish predict, here is my code:
Here is the error message
Firstly, I generated the offset parameter file in the bam file location and also tried copying the offset parameter file to the current folder. But ribotish doesn't even seem to recognise it automatically, what should I do. Secondly I don't quite understand how to fix the error reported, I have installed pysam version 0.8.4 using pip, can you help me see what the problem is.
Thanks, LeeLee