edgraham / BinSanity

Unsupervised Clustering of Environmental Microbial Assemblies Using Coverage and Affinity Propagation
GNU General Public License v3.0
29 stars 14 forks source link

Index out of range error while running Binsanity-wf #57

Open Metagymomics opened 3 years ago

Metagymomics commented 3 years ago

Hi!

I'm trying to run Binsanity-wf, but I'm getting this error. I suspect something is going wrong after checkm analysis.

This is the command I used: Binsanity-wf --threads 24 -f ./ -l ./final_assembly.fasta -c ./coverage.cov.x100.lognorm -o ./BinsanityWF

Log:


    **********************BinSanity***********************
    |____________________________________________________|
    |                                                    |
    |             Computing Coverage Array               |
    |____________________________________________________|

      Preference: -3
      Maximum Iterations: 4000
      Convergence Iterations: 400
      Contig Cut-Off: 1000
      Damping Factor: 0.95
      Coverage File: ./coverage.cov.x100.lognorm
      Fasta File: ./final_assembly.fasta
      Output Directory: ./BinsanityWF
      (18, 1)

     ______________________________________________________
    |                                                      |
    |                 Clustering Contigs                   |
    |______________________________________________________|

      Cluster 0: 18
      Total Number of Bins: 1

     *|*|*|*|*|*|*|*|*|*|*|*|*|*|*|*|*|*|*|*|*|*|*|*|*|*|*
     _____________________________________________________
    |                                                     |
    |                   Creating Bins                     |
    |_____________________________________________________|

     _____________________________________________________

                   Putative Bins Computed
                   in 0.109831094742 seconds
     _____________________________________________________

     _____________________________________________________
    |                                                     |
    |       Evaluating Genome With CheckM Lineage_wf      |
    |_____________________________________________________|

Error: image

edgraham commented 3 years ago

Hello,

Looking at this error I would first check that CheckM is properly installed on the system as this error is in a portion of the code that’s parsing the CheckM data.

If you test CheckM and that is properly installed then please send the Binsanity version you are running and what version of Python your running.

-Elaina

On Jun 19, 2021, at 3:27 AM, Sai Ravi Chandra Nori @.***> wrote:

 Hi!

I'm trying to run Binsanity-wf, but I'm getting this error. I suspect something is going wrong after checkm analysis.

This is the command I used: Binsanity-wf --threads 24 -f ./ -l ./final_assembly.fasta -c ./coverage.cov.x100.lognorm -o ./BinsanityWF

Error: Traceback (most recent call last): File "/install/software/anaconda2.7.a/bin/Binsanity-wf", line 453, in checkm_analysis(os.path.join(args.outputdir,str(args.prefix)+"checkm_lineagewf-results.txt"),".fna",str(out_1)) File "/install/software/anaconda2.7.a/bin/Binsanity-wf", line 277, in checkmanalysis if float(list[12]) >90 and (float(list[13])<12): IndexError: list index out of range

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Metagymomics commented 3 years ago

Hi,

I'm running Checkm (v1.0.18), which is properly installed. Also, I can see the check output in the BinSanityWf folder.

I'm running the Binsanity 0.5.4 version and python 3.7.10.

I have also attached checkm results for your reference.

Thanks, Sai. BinSanityWf_checkm_lineagewf-results.txt