Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something went wrong with indexing the assembly #543

Open
PhoebeCc opened this issue May 20, 2024 · 1 comment
Open

Something went wrong with indexing the assembly #543

PhoebeCc opened this issue May 20, 2024 · 1 comment

Comments

@PhoebeCc
Copy link

PhoebeCc commented May 20, 2024

Here is my running code:

time metawrap quant_bins -b temp/bin_refinement2/ref4/metawrap_70_5_bins/ \
    -t 48 -o temp/bin_arg/quant/summer \
    -a result/megahit/summer.contigs.fa \
    temp/qc/summer/*.R1.raw_kneaddata_paired_?.fastq

Here is the results:

11 forward and 11 reverse read files detected                                -----
------------------------------------------------------------------------------------------------------------------------


########################################################################################################################
#####                                    SETTING UP OUTPUT AND INDEXING ASSEMBLY                                   #####
########################################################################################################################

mkdir: cannot create directory ‘temp/bin_quant/summer’: File exists

------------------------------------------------------------------------------------------------------------------------
-----                            Indexing assembly file with salmon. Ignore any warnings                           -----
------------------------------------------------------------------------------------------------------------------------

[2024-05-18 20:47:21.847] [jLog] [info] building index
[2024-05-18 20:47:21.848] [jointLog] [info] [Step 1 of 4] : counting k-mers
**Version Info: Could not resolve upgrade information in the alotted time.
Check for upgrades manually at https://combine-lab.github.io/salmon**
counted k-mers for 320,000 transcripts[2024-05-18 20:50:32.699] [jointLog] [info] Building rank-select dictionary and saving to disk
[2024-05-18 20:50:32.947] [jointLog] [info] done
[2024-05-18 20:50:32.983] [jointLog] [info] Writing sequence data to file . . . 

************************************************************************************************************************
*****                           Something went wrong with indexing the assembly. Exiting.                          *****
************************************************************************************************************************

I have tried updating salmon and it is not compatible.
I would like to know how to solve the above problem.
Or how to use individual salmon for quantification.

Thank you~

@PhoebeCc
Copy link
Author

I tried to run bin_quant in individual salmon environment (py3) and got the following results:


Traceback (most recent call last):
  File "/gpfs/share/home/1701111743/metaWRAP/bin/metawrap-scripts/split_salmon_out_into_bins.py", line 4, in <module>
    import numpy as np
ImportError: No module named numpy

************************************************************************************************************************
*****                     something went wrong with making summary abundance table. Exiting...                     *****
************************************************************************************************************************

numpy was already installed in salmon environment, presumably due to version incompatibility.
Is there a way to run split_salmon_out_into_bins.py in py2.7 after this step?

Also, I am re-trying to install metawrap-mg=1.2.0 (I have installed this version before and can run quant_bin successfully), but it seems that neither conda nor mamba installation can successfully install this version, nor can I install the dependent software using the git method.

I'm sorry that my computer skills are really limited, but I still can't solve this problem after many attempts, and I didn't find a solution in the previous issue.

If anyone can figure it out, thank you very much~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant