Closed Midnighter closed 4 years ago
Hi, can you provide me with a sample of your input (lets say first 100 lines) and the taxo.k2d file?
I must admit that I'm not sure any longer on which file I tested this. I've had some success with other reports in the meantime. One thing I noticed is that I include taxa with zero assigned reads in the report and conifer includes those, too. That's not very useful and those lines could be excluded I think.
I also had one report with ~30,000 lines which lead to a segmentation fault.
./conifer: unrecognized option '--both-scores'
Segmentation fault (core dumped)
I think the message ./conifer: unrecognized option '--both-scores'
is a false hint since the flag works fine with other reports.
Okay, I have been able to retrace the error above, it happens when running conifer on the kraken standard output rather than the report. So that's my fault. However, the points above remain. I could send you the report that leads to a segmentation fault by email if you like.
If conifer fails with kraken standard output, I would definitely be interested in checking the input files to make the software more robust. As for kraken reports - Conifer, at least currently, is not designed to accept them as input. Conifer generates reports from kraken standard output.
Okay, I'll send you the files and maybe you can figure out what is going on.
It seems that the issue was with the taxid field in the input file.
Conifer assumed that the field contains only the taxid, without names.
I updated the code, to extract taxid from input, when kraken is executed with --use-names
option.
See if it works now.
That works for me, thank you! Any idea why I get the following message, though?
./conifer: unrecognized option '--both-scores'
I believe it's a typo. Option should be provided with an underscore (--both_scores
) or you can use the short version (-b
)
Doh :facepalm: thanks :slightly_smiling_face:
I wanted to try out your tool as you recommended in my issue on kraken. I started it with:
then saw output
I expected to see more in the table. Any ideas what could cause this?