<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Hi All,&nbsp;</div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
I have been attempting to install misopy (<a href="https://miso.readthedocs.io/en/fastmiso/#" id="LPlnk184667">https://miso.readthedocs.io/en/fastmiso/#</a>) but have so far been unsuccessful.&nbsp; Recently, I contacted the HPC Support group at the institution
 I work at.</div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
The steps we both performed for installing misopy are:</div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Adding the module:&nbsp; apps/pip/9.0.1/python-2.7.8</div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt;">Then running:&nbsp; pip install misopy&nbsp;</span><br>
</div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt;">I then checked that the following directory was in my pythonpath:&nbsp;&nbsp;/users/122345678/gridware/share/python/2.7.8/lib/python2.7/site-packages</span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt;"><br>
</span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt;">This all worked fine.</span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt;"><br>
</span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt;"><span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">To then</span><span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">&nbsp;test
 the installation, in Python I did:&nbsp;&nbsp;</span></span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt;"><span><br>
</span></span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt;"><span>import misopy<br>
</span><span>import pysplicing</span></span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt;"><span><br>
</span></span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt;"><span>This all worked without outputting an error (previously, when I was first installing misopy I was creating a virtual env etc. but getting an error
 with 'import pysplicing'.&nbsp; HPC Support then suggested the above method for installing).</span></span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt;"><span><br>
</span></span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
I then ran the below to test if&nbsp;MISO could be run:</div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
python -m unittest discover misopy<br>
</div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span>However, I get a failure:</span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span><br>
</span>
<div>Testing fr-unstranded...<br>
</div>
<div>Checking read f_read against &#43;<br>
</div>
<div>Checking read f_read against -<br>
</div>
<div>Checking read r_read against &#43;<br>
</div>
<div>Checking read r_read against -<br>
</div>
<div>Testing fr-firststrand...<br>
</div>
<div>.Testing conversion of SAM to BAM...<br>
</div>
<div>Executing: sam_to_bam --convert /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/test-data/sam-data/c2c12.Atp2b1.sam
 /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/test-output/sam-output<br>
</div>
<div>sh: sam_to_bam: command not found<br>
</div>
<div>FTesting gene-level Psi...<br>
</div>
<div>Testing GFF indexing of: /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/gff-events/mm9/genes/Atp2b1.mm9.gff<br>
</div>
<div>Executing: index_gff --index /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/gff-events/mm9/genes/Atp2b1.mm9.gff
 /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/gff-events/mm9/genes/Atp2b1/indexed<br>
</div>
<div>sh: index_gff: command not found<br>
</div>
<div>Executing: miso --run /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/gff-events/mm9/genes/Atp2b1/indexed
 /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/test-output/sam-output/c2c12.Atp2b1.sorted.bam
 --output-dir /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/test-output/gene-psi-output
 --read-len 36<br>
</div>
<div>sh: miso: command not found<br>
</div>
<div>.Testing gene-level Psi...<br>
</div>
<div>Executing: python /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/index_gff.py
 --index /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/gff-events/mm9/genes/Atp2b1.mm9.gff
 /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/gff-events/mm9/indexed<br>
</div>
<div>Traceback (most recent call last):<br>
</div>
<div>File &quot;/users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/index_gff.py&quot;, line 199,
 in module<br>
</div>
<div>main()<br>
</div>
<div>File &quot;/users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/index_gff.py&quot;, line 188,
 in main<br>
</div>
<div>os.makedirs(output_dir)<br>
</div>
<div>File &quot;/opt/gridware/depots/54e7fb3c/el7/pkg/apps/python/2.7.8/gcc-4.8.5/lib/python2.7/os.py&quot;, line 157, in makedirs<br>
</div>
<div>mkdir(name, mode)<br>
</div>
<div>OSError: [Errno 13] Permission denied: '/users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/gff-events/mm9/indexed'<br>
</div>
<div>Executing: python /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/run_events_analysis.py
 --compute-genes-psi /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">12234567</span>8/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/gff-events/mm9/indexed
 /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/test-output/sam-output/c2c12.Atp2b1.sorted.bam
 --output-dir /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/test-output/gene-psi-output
 --read-len 36 --paired-end 250 30 --use-cluster<br>
</div>
<div>MISO (Mixture of Isoforms model)<br>
</div>
<div>To run MISO, please use &quot;miso&quot; instead.<br>
</div>
<div>.Testing single-end SE event interface...<br>
</div>
<div>Executing: python /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/run_events_analysis.py
 --compute-events-psi se-sample /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/test-data/se-counts/se_test.counts
 --output-dir /users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/test-output/SE-output
 --read-len 35 --overhang-len 4 --event-type SE --use-cluster<br>
</div>
<div>MISO (Mixture of Isoforms model)<br>
</div>
<div>To run MISO, please use &quot;miso&quot; instead.<br>
</div>
<div>.<br>
</div>
<div>======================================================================<br>
</div>
<div>FAIL: test_a_sam_to_bam (misopy.test_miso.TestMISO)<br>
</div>
<div>----------------------------------------------------------------------<br>
</div>
<div>Traceback (most recent call last):<br>
</div>
<div>File &quot;/users/<span style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">122345678</span>/gridware/share/python/2.7.8/lib/python2.7/site-packages/misopy/test_miso.py&quot;, line 51, in
 test_a_sam_to_bam<br>
</div>
<div>&quot;c2c12.Atp2b1.sorted.bam&quot;)))<br>
</div>
<div>AssertionError<br>
</div>
<div><br>
</div>
<div>----------------------------------------------------------------------<br>
</div>
<div>Ran 5 tests in 2.761s<br>
</div>
<div><br>
</div>
<div>FAILED (failures=1)<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>When I do:</div>
<div>python -m unittest discover miso<br>
</div>
<div><br>
</div>
<div>I get:</div>
<div><br>
</div>
<div><span>Traceback (most recent call last):<br>
</span>
<div>&nbsp; File &quot;/opt/gridware/depots/54e7fb3c/el7/pkg/apps/python/2.7.8/gcc-4.8.5/lib/python2.7/runpy.py&quot;, line 162, in _run_module_as_main<br>
</div>
<div>&nbsp; &nbsp; &quot;__main__&quot;, fname, loader, pkg_name)<br>
</div>
<div>&nbsp; File &quot;/opt/gridware/depots/54e7fb3c/el7/pkg/apps/python/2.7.8/gcc-4.8.5/lib/python2.7/runpy.py&quot;, line 72, in _run_code<br>
</div>
<div>&nbsp; &nbsp; exec code in run_globals<br>
</div>
<div>&nbsp; File &quot;/opt/gridware/depots/54e7fb3c/el7/pkg/apps/python/2.7.8/gcc-4.8.5/lib/python2.7/unittest/__main__.py&quot;, line 12, in &lt;module&gt;<br>
</div>
<div>&nbsp; &nbsp; main(module=None)<br>
</div>
<div>&nbsp; File &quot;/opt/gridware/depots/54e7fb3c/el7/pkg/apps/python/2.7.8/gcc-4.8.5/lib/python2.7/unittest/main.py&quot;, line 94, in __init__<br>
</div>
<div>&nbsp; &nbsp; self.parseArgs(argv)<br>
</div>
<div>&nbsp; File &quot;/opt/gridware/depots/54e7fb3c/el7/pkg/apps/python/2.7.8/gcc-4.8.5/lib/python2.7/unittest/main.py&quot;, line 113, in parseArgs<br>
</div>
<div>&nbsp; &nbsp; self._do_discovery(argv[2:])<br>
</div>
<div>&nbsp; File &quot;/opt/gridware/depots/54e7fb3c/el7/pkg/apps/python/2.7.8/gcc-4.8.5/lib/python2.7/unittest/main.py&quot;, line 214, in _do_discovery<br>
</div>
<div>&nbsp; &nbsp; self.test = loader.discover(start_dir, pattern, top_level_dir)<br>
</div>
<div>&nbsp; File &quot;/opt/gridware/depots/54e7fb3c/el7/pkg/apps/python/2.7.8/gcc-4.8.5/lib/python2.7/unittest/loader.py&quot;, line 204, in discover<br>
</div>
<div>&nbsp; &nbsp; raise ImportError('Start directory is not importable: %r' % start_dir)<br>
</div>
<span>ImportError: Start directory is not importable: 'miso'</span><br>
</div>
<div><br>
</div>
<span>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
It looks like the commands for running Miso are not being recognised?&nbsp; I've&nbsp;checked the dependancy packages needed for Miso to run without a failure, and they satisfy the requirements in terms of versions.&nbsp; miso/misopy are not recognised either in Python or
 outside of python.&nbsp;&nbsp;</span><br>
</div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span>Is anyone able to help with this?&nbsp; &nbsp;I would be grateful for any advice.</span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span>Thanks,</span></div>
<div style="font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span>Ali.</span></div>
</body>
</html>