Hi,
on our local Galaxy-instance we ran into the following error running MACS2:
/home/galaxy_production/galaxy-dist/database/jobs_directory/001/1752/tool_script.sh: /home/galaxy_production/galaxy-dist/dependency_dir/_conda/envs/mulled-v1-9745eaf08708c75d5cb939b005b2fbbcc13ccefcb86602af9e1bf012d47be274/bin/macs2: /home/galaxy_production/galaxy-dist/dependency_dir/_conda/envs/mulled-v1-9745: bad interpreter: No such file or directory
The error is due to the long path of the macs2-dependency, which is longer than 128 chars, which is the maximum length for the shebang used in the macs2 easy install script:
#!/home/galaxy_production/galaxy-dist/dependency_dir/_conda/envs/mulled-v1-9745eaf08708c75d5cb939b005b2fbbcc13ccefcb86602af9e1bf012d47be274/bin/python
# EASY-INSTALL-SCRIPT: 'MACS2==2.1.1.20160309','macs2'
__requires__ = 'MACS2==2.1.1.20160309'
__import__('pkg_resources').run_script('MACS2==2.1.1.20160309', 'macs2')
Although we encountered that error only in MACS2 so far, it could be a general problem, if the conda dependency handler uses long file names for naming the envs. Rolling back to an older version of MACS2 worked for now. Did anybody else encounter this issue? Is there a fix/workaround?
Thanks, Thomas