Skip to content
This repository was archived by the owner on Sep 2, 2024. It is now read-only.

Error running IOGA.py #5

Closed
kk86bioinfo opened this issue Jan 12, 2016 · 2 comments
Closed

Error running IOGA.py #5

kk86bioinfo opened this issue Jan 12, 2016 · 2 comments

Comments

@kk86bioinfo
Copy link

Hi, I have an error encountered with IOGA.py.

sudo nohup python /opt/IOGA/IOGA.py --reference /opt/IOGA/plant_mitochondria.reference.fasta --forward ../PE1.fastq --reverse ../PE2.fastq --insertsize 250 --threads 40 > mesta-IOGA.log 2> mesta-IOGA.err & Traceback (most recent call last): File "/opt/IOGA/IOGA.py", line 432, in main(args.reference,args.name,args.forward,args.reverse,args.threads,args.insertsize,args.maxrounds,args.verbose)

File "/opt/IOGA/IOGA.py", line 377, in main
source,FP,RP,final_iteration = IOGA_loop(name,ref,forward,reverse,insertsize,threads,maxrounds)

File "/opt/IOGA/IOGA.py", line 323, in IOGA_loop
if len(name.split('/')) == 1:

AttributeError: 'NoneType' object has no attribute 'split'

@makrez
Copy link

makrez commented Sep 3, 2016

Hi,

I wanted to compare IOGA to other organellar assemblers. However, I have encountered the same error. Has the issue been solved?

~/Prog/IOGA-master/IOGA.py -r ref.fasta -1 F.fastq -2 R.fastq

/IOGA-master/IOGA_config.json
/IOGA-master/IOGA_config.json
[None] Quality trimming with BBduk
Traceback (most recent call last):
File "/IOGA-master/IOGA.py", line 432, in
main(args.reference,args.name,args.forward,args.reverse,args.threads,args.insertsize,args.maxrounds,args.verbose)
File "/IOGA-master/IOGA.py", line 377, in main
source,FP,RP,final_iteration = IOGA_loop(name,ref,forward,reverse,insertsize,threads,maxrounds)
File "/IOGA-master/IOGA.py", line 323, in IOGA_loop
if len(name.split('/')) == 1:
AttributeError: 'NoneType' object has no attribute 'split'

@holmrenser
Copy link
Owner

This error occurred when the name option (-n, --name) was not defined.
I have added a default option (IOGA_RUN), so the problem should be fixed.
Please do a git pull to get the latest version.

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

No branches or pull requests

3 participants