ó
ĽÁ^c           @   ső   d  d l  Z  d  d l Z d  d l m Z m Z m Z m Z m Z d d d d d g Z e e e e	    a
 e t
 d  a e t
 d	  a e t
 d
 d	 d  a d a d   Z e d k rń e e e e	   d  Z e j j d e d  n  d S(   i˙˙˙˙N(   t   abspatht   dirnamet   realpatht   joint   isfilet    t	   truspadest   commont	   executorst   scriptst   bint   srct   extt   python_libsc          C   sŹ   t  t j j t d   rW t t  }  t |  d  a t |  d d  a t a t a n  x* t	 D]" } t
 j j t t d |   q^ Wt t t d  d  j   j   a d  S(   Ns   spades-coreR
   t   sharet   spadest   spades_pipelinet   VERSIONt   r(   R   t   ost   pathR   t   spades_homeR   t   bin_homet   python_modules_homet   ext_python_modules_homet   source_dirst   syst   appendt   opent   readlinet   stript   spades_version(   t   install_prefixt   dir(    (    sV   /oak/stanford/groups/akundaje/marinovg/programs/SPAdes-3.14.0-Linux/bin/spades_init.pyt   init   s    	 t   __main__s	   spades.pys   Please use s%    for running SPAdes genome assembler
(   R   R   t   os.pathR    R   R   R   R   R   t   __file__R   R   R   R   R   R"   t   __name__t   spades_py_patht   stderrt   write(    (    (    sV   /oak/stanford/groups/akundaje/marinovg/programs/SPAdes-3.14.0-Linux/bin/spades_init.pyt   <module>
   s   (	