Open johannesnicolaus opened 1 year ago
I ran into the same problem and am also using TransDecoder, but I don't believe it is a TransDecoder issue. I was able to solve the problem by explicitly specifying the path to the mikado prepared transcript fasta file (i.e., by passing the path to mikado serialise
via the --transcripts
argument. The tutorial suggested that this wasn't necessary given a configuration file produced by mikado, but perhaps I am misinterpreting.
This is the relevant code from orf.py that seems to be the cause of the error:
fasta_index = configuration.serialise.files.transcripts
...
if isinstance(fasta_index, str):
assert os.path.exists(fasta_index)
fasta_index = pysam.FastaFile(fasta_index)
I have removed some of code which seems irrelevant to the error. The assertion error that we go suggests the path provided by the configuration file to this function was misspecified. This is why I think explicitly specifying the path solved the issue for me. Why it would be misspecified in the configuration file, I don't know.
Hello. I'm getting the following error, but I'm not sure how to debug it:
The final line of the log:
Is it possible that something is wrong with the ORF data? I am using
TransDecoder.LongOrfs
to generate ORF gff3 file. Could there be something wrong with the ORFs?