GetOrganelle icon indicating copy to clipboard operation
GetOrganelle copied to clipboard

Assembling exited halfway - ERROR: No valid assembly graph found

Open JianjunJin opened this issue 2 years ago • 10 comments

Take the liberty to borrow the post owner's place. I want to ask where my error occurred. It always occurs No valid Assembly graph found.@Kinggerm First, the code I used:get_organelle_from_reads.py -1 /home/mxx/anaconda3/envs/get/BR1_FDMS210380612-1a_1.clean.fq.gz -2 /home/mxx/anaconda3/envs/get/BR1_FDMS210380612-1a_2.clean.fq.gz -o test5 -R 32 -t 64 -F animal_mt --reduce-reads-for-coverage inf --max-reads inf log file: get_org.log.txt spades.log Please take a look at this when convenient to yourself.

Originally posted by @9326xiaoxiao in https://github.com/Kinggerm/GetOrganelle/issues/116#issuecomment-1261630952

JianjunJin avatar Sep 29 '22 02:09 JianjunJin

Your issue is different from issue116. Please note that the spades assembly step exited almost immediately after the start. So you troubleshoot your environment to run spades normally.

The spades.log you provides is not the right one. Please provide the spades.log file under test5/extend_spades if it existed.

JianjunJin avatar Sep 29 '22 02:09 JianjunJin

I think this may be a conda dependency issue.

With spades v3.13.0 the log looks like this

Command line: /mnt/shared/scratch/owhite/apps/conda/envs/getorgelle_conda_env/bin/spades.py     -t      1       --phred-offset  33      -1      /mnt/shared/home/owhite/test/getorganelle/results_directory/extended_1_paired.fq -2      /mnt/shared/home/owhite/test/getorganelle/results_directory/extended_2_paired.fq        --s1    /mnt/shared/home/owhite/test/getorganelle/results_directory/extended_1_unpaired.fq       --s2    /mnt/shared/home/owhite/test/getorganelle/results_directory/extended_2_unpaired.fq      -k      21,55,85,115    -o      /mnt/shared/home/owhite/test/getorganelle/results_directory/extended_spades

System information:
  SPAdes version: 3.13.0
  Python version: 3.10.6
  OS: Linux-4.18.0-372.26.1.el8_6.x86_64-x86_64-with-glibc2.28

Output dir: /mnt/shared/home/owhite/test/getorganelle/results_directory/extended_spades
Mode: read error correction and assembling
Debug mode is turned OFF

Dataset parameters:
  Multi-cell mode (you should set '--sc' flag if input data was obtained with MDA (single-cell) technology or --meta flag if processing metagenomic dataset)
  Reads:

With spades version 3.15.5 it works as expected.

With my conda installation conda (```conda create --name getorganelle getorganelle````) I get spades 3.15.5. But with conda I get 3.13.0

o-william-white avatar Oct 04 '22 14:10 o-william-white

Thanks for Ollie White's comments. This is the solution to the problem! Just update your SPAdes to version 3.15.5 (conda update SPAdes). It will work normally.

FuXiaogang-KIB avatar Oct 26 '22 00:10 FuXiaogang-KIB

Hi, tried to do de novo assembly for Arabidopsis test data, during the process assembly existed halfway and received an error; No valid graph found. I have attached the log file herewith. Could you please help me to resolve the issue

get_org.log.txt

Rajaratnam1234 avatar Jul 21 '23 04:07 Rajaratnam1234

收到,谢谢!

FuXiaogang-KIB avatar Jul 21 '23 04:07 FuXiaogang-KIB

@Rajaratnam1234 Have you tried to install SPAdes from the source?

JianjunJin avatar Jul 24 '23 01:07 JianjunJin

Thank you for your response. There was an error in python. I re_installed the package. Now assembling is working properly!

On Mon, 24 Jul 2023, 6:39 am JianJun Jin, @.***> wrote:

@Rajaratnam1234 https://github.com/Rajaratnam1234 Have you tried to install SPAdes from the source?

— Reply to this email directly, view it on GitHub https://github.com/Kinggerm/GetOrganelle/issues/198#issuecomment-1647048504, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBMU4OB7A4B442F7CIHOUEDXRXDLVANCNFSM6AAAAAAQYKKKZQ . You are receiving this because you were mentioned.Message ID: @.***>

Rajaratnam1234 avatar Jul 25 '23 07:07 Rajaratnam1234