User Tools

Site Tools


maxbin2-software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
maxbin2-software [2020/03/15 09:52] aorthmaxbin2-software [2020/03/15 10:42] (current) aorth
Line 18: Line 18:
 $ run_MaxBin.pl</code> $ run_MaxBin.pl</code>
  
 +**Note:** Please use the ''-thread'' option to match the number of CPU threads requested in your SBATCH job parameters (default 1).
  
 ===== Installation ====== ===== Installation ======
Line 23: Line 24:
  
 <code> <code>
 +$ cd /tmp 
 +$ wget 'https://downloads.sourceforge.net/project/maxbin2/MaxBin-2.2.7.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fmaxbin2%2Ffiles%2Flatest%2Fdownload&ts=1584261396' -O MaxBin-2.2.7.tar.gz 
 +$ tar xf MaxBin-2.2.7.tar.gz  
 +$ cd MaxBin-2.2.7/src 
 +$ scl enable devtoolset-7 bash 
 +$ make 
 +$ sed run_MaxBin.pl -i \ 
 +  -e 's/idba_ud/idba_hybrid/'
 +  -e 's_IDBA\\-UD_IDBA\\-Hybrid_' 
 +$ rm src/*.o 
 +$ sudo cp -r *.hmm *.pl *.r src /export/apps/maxbin2/2.2.7 
 +$ sudo chown -R root:root /export/apps/maxbin2/2.2.7
 </code> </code>
 +
 +Note: according to the readme MaxBin2 needs IDBA-UD v1.1.1, but this version was published at least six years ago, after which time the binary was renamed to ''idba_hybrid''. Old tarballs are not available so I will try to see if patching ''run_MaxBin.pl'' to use the new ''idba_hybrid'' binary works...
maxbin2-software.1584265948.txt.gz · Last modified: 2020/03/15 09:52 by aorth