MISO
MISO copied to clipboard
About testing error
I have installed MISO. And all dependence is ok. But I got an error when MISO test. The code shown below: python -m unittest discover misopy
The errors shown below(Maybe a little bit more information):
Testing gene-level Psi...
Executing: python /usr/local/lib/python2.7/dist-packages/misopy/index_gff.py --index /usr/local/lib/python2.7/dist-packages/misopy/gff-events/mm9/genes/Atp2b1.mm9.gff /usr/local/lib/python2.7/dist-packages/misopy/gff-events/mm9/indexed
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/misopy/index_gff.py", line 199, in
Using MISO settings file: /usr/local/lib/python2.7/dist-packages/misopy/settings/miso_settings.txt
Traceback (most recent call last):
File "/usr/local/bin/miso", line 11, in
load_entry_point('misopy==0.5.4', 'console_scripts', 'miso')()
File "/usr/local/lib/python2.7/dist-packages/misopy/miso.py", line 563, in main
main_logger = get_main_logger(logs_output_dir)
File "/usr/local/lib/python2.7/dist-packages/misopy/miso.py", line 54, in get_main_logger
fh = logging.FileHandler(logger_fname)
File "/usr/lib/python2.7/logging/init.py", line 913, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python2.7/logging/init.py", line 943, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/misopy/test-output/gene-psi-output/logs/main.2019-01-02_15-43-58.log'
.
FAIL: test_a_sam_to_bam (misopy.test_miso.TestMISO)
Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/misopy/test_miso.py", line 51, in test_a_sam_to_bam "c2c12.Atp2b1.sorted.bam"))) AssertionError
Ran 5 tests in 2.677s FAILED (failures=1)
I saw someone says that error has to do with the version of samtools. Like -o refers to output path. So should I solve the test error? or say it will not affect normal use?
Thanks.
I'm facing the same issue.