o
    ¥Á^Š  ã                   @   s¨   d dl Z d dlZd dlmZmZmZmZmZ g d¢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rReeee	ƒƒdƒZej de d ¡ dS dS )é    N)ÚabspathÚdirnameÚrealpathÚjoinÚisfile)Ú Z	truspadesÚcommonZ	executorsZscriptsÚbinÚsrcÚextZpython_libsr   c                  C   sr   t tj td¡ƒrttƒ} t| dƒat| ddƒatatat	D ]}t
j ttd|ƒ¡ qtttdƒdƒ ¡  ¡ ad S )Nzspades-corer	   ZshareÚspadesZspades_pipelineZ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.15.4-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   	

þ