3
¥Á^Š  ã               @   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d„ Zedkr¦eeee	ƒƒdƒZejjde d ƒ dS )é    N)ÚabspathÚdirnameÚrealpathÚjoinÚisfileÚ Z	truspadesÚcommonZ	executorsÚscriptsÚbinÚsrcÚextZpython_libsc              C   sv   t tjjtdƒƒr8ttƒ} t| dƒat| ddƒatatax t	D ]}t
jjttd|ƒƒ q>W tttdƒdƒjƒ jƒ ad S )Nzspades-corer
   ZshareÚspadesZspades_pipelineÚVERSIONÚr)r   ÚosÚpathr   Úspades_homer   Úbin_homeÚpython_modules_homeÚext_python_modules_homeÚsource_dirsÚsysÚappendÚopenÚreadlineÚstripÚspades_version)Zinstall_prefixÚdir© r   úV/oak/stanford/groups/akundaje/marinovg/programs/SPAdes-3.14.0-Linux/bin/spades_init.pyÚinit   s    

r    Ú__main__z	spades.pyzPlease use z% for running SPAdes genome assembler
)r   r   Zos.pathr   r   r   r   r   r   Ú__file__r   r   r   r   r   r    Ú__name__Zspades_py_pathÚstderrÚwriter   r   r   r   Ú<module>
   s   

