<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I recently installed miso on our HPC under python 2.7.12 using pip and it generally seems to work. I am however running into an issue. So for our users to use miso, they must load the module (module load python/2.7.12) and then they are
 able to call miso. When (for testing) I try to run:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">miso --run gff-events/indexed test-data/Galaxy29_sorted.bam --output-dir test-output/gene-psi-output --read-len 151 --paired-end 184 29<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">it errors when batching out the genes, with:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Preparing to run 4 batches of jobs...<o:p></o:p></p>
<p class="MsoNormal">Running batch of 5397 genes..<o:p></o:p></p>
<p class="MsoNormal">&nbsp; - Executing: python /cm/shared/apps/python/2.7.12/lib/python2.7/site-packages/misopy/run_miso.py --compute-genes-from-file &quot;/home/mweiner/darnmiso/test-output/gene-psi-output/batch-genes/batch-0_genes.txt&quot; /home/mweiner/darnmiso/test-data/Galaxy29_sorted.bam
 /home/mweiner/darnmiso/test-output/gene-psi-output --read-len 151&nbsp; --paired-end 184.0 29.0 --settings-filename /cm/shared/apps/python/2.7.12/lib/python2.7/site-packages/misopy/settings/miso_settings.txt<o:p></o:p></p>
<p class="MsoNormal">&nbsp; - Submitted thread batch-0<o:p></o:p></p>
<p class="MsoNormal">Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal">&nbsp; File &quot;/cm/shared/apps/python/2.7.12/lib/python2.7/site-packages/misopy/run_miso.py&quot;, line 11, in &lt;module&gt;<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp; import misopy<o:p></o:p></p>
<p class="MsoNormal">ImportError: No module named misopy<o:p></o:p></p>
<p class="MsoNormal">Running batch of 5398 genes..<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">And errors like that for all for batches of genes. So, to make sure I actually have miso installed properly, I run the following:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">python2.7 /cm/shared/apps/python/2.7.12/lib/python2.7/site-packages/misopy/run_miso.py --compute-genes-from-file &quot;/home/mweiner/darnmiso/test-output/gene-psi-output/batch-genes/batch-0_genes.txt&quot; /home/mweiner/darnmiso/test-data/Galaxy29_sorted.bam
 /home/mweiner/darnmiso/test-output/gene-psi-output --read-len 151&nbsp; --paired-end 184.0 29.0 --settings-filename /cm/shared/apps/python/2.7.12/lib/python2.7/site-packages/misopy/settings/miso_settings.txt<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">which runs correctly and completes. So my question is, why am I getting the missing module error above when I don&#8217;t get it running the individual gene batches.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Regards<o:p></o:p></p>
<p class="MsoNormal">Michael Weiner<o:p></o:p></p>
</div>

<P>===================================
<br/><p class=MsoNormal><font size=5 color=green><span style='font-size:18.0pt;color:green'></span></font><font size=2 color=navy face=Calibri><span style='font-size:10.0pt;font-family:Calibri;color:navy'> </span></font><font size=1 color=green face=Arial><span style='font-size:7.0pt;font-family:Arial;color:green'>Please consider the environment before printing this e-mail</span></font><o:p></o:p></p>

Cleveland Clinic is ranked as one of the top hospitals in America by U.S.News & World Report (2015).  
Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations.


Confidentiality Note:  This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law.  If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error,  please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy.  

Thank you.<br/></P></body>
</html>