Skip to content

Error while training model #2

Description

@xibalbanus

G'day,

First of all I would like to thank you for such a useful program. I have been able to run with using the pre-trained models without any issues. However, when I try training with my own selection of OrthoDB groups I get the following error:

python ~/apps/ogcleaner/bin/ogcleaner.py train --orthodb_fasta crustacea.universal.single.fasta --threads 10 --clean
Command: /home/vader/apps/ogcleaner/bin/ogcleaner.py train --orthodb_fasta crustacea.universal.single.fasta --threads 10 --clean
OrthoClean model training module version 0.1a
Aligner: /home/vader/apps/ogcleaner/lib/mafft_bin/mafft
Aligner args: --anysymbol
Created directory train_orthodb_groups_fasta
Created directory train_nh_groups_fasta
Created directory train_paml_configs
Created directory logs
Created directory train_cluster_alignments_homology
Created directory train_cluster_alignments_nh
Created directory train_paml_trees
Created directory train_evolved_seqs
Created directory train_featurized_clusters
Created directory train_aliscores_homology
Created directory train_aliscores_nh
Beginning...
Segregating the sequences into their orthogroups...Traceback (most recent call last):
File "/home/vader/apps/ogcleaner/bin/ogcleaner.py", line 1750, in
main( args )
File "/home/vader/apps/ogcleaner/bin/ogcleaner.py", line 1426, in main
generate_trained_model( args )
File "/home/vader/apps/ogcleaner/bin/ogcleaner.py", line 1190, in generate_trained_model
ortho_groups = segregate_orthodb_groups( args.orthodb_fasta, args.orthodb_groups_dir, args.og_field_pos )
File "/home/vader/apps/ogcleaner/bin/ogcleaner.py", line 294, in segregate_orthodb_groups
t_group = m.group( 1 )
AttributeError: 'NoneType' object has no attribute 'group'

Any ideas about how to solve this?

Thanks in advance,

J.

EDIT: I fixed this (shown below) but I ran into a new error...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions