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

meet problem on "no attribute '__getitem__'" #39

Open
JohnnyChen1113 opened this issue Jul 2, 2019 · 1 comment
Open

meet problem on "no attribute '__getitem__'" #39

JohnnyChen1113 opened this issue Jul 2, 2019 · 1 comment

Comments

@JohnnyChen1113
Copy link

Hi there,
I am trying to analyze my orthofinder output data with kinfin, I have encountered the following problem:

[STATUS] - Parsing /home/bmb/pecanGenome/orthofinder/kinfin/Orthogroups.txt ... this may take a while
[STATUS] - Output directories in
	/home/bmb/pecanGenome/orthofinder/kinfin/kinfin_results
[STATUS] - Directory exists. Deleting directory ...
[STATUS] - Creating directories ...
	/home/bmb/pecanGenome/orthofinder/kinfin/kinfin_results/all
	/home/bmb/pecanGenome/orthofinder/kinfin/kinfin_results/TAXON
[STATUS]	 - Clusters found = 250073
[STATUS] - Analysing clusters ...
[PROGRESS] 	- 100%
[STATUS] - Took 191.332006931s to analyse clusters
[STATUS] - Generating rarefaction data ...
[STATUS]	- Plotting /home/bmb/pecanGenome/orthofinder/kinfin/kinfin_results/all/all.rarefaction_curve.pdf
[STATUS] - Plotting /home/bmb/pecanGenome/orthofinder/kinfin/kinfin_results/cluster_size_distribution.pdf
Traceback (most recent call last):
  File "/home/n1806171b/biosoft/kinfin1.0.3/kinfin-1.0.3/src/kinfin.py", line 2311, in <module>
    dataFactory.write_output()
  File "/home/n1806171b/biosoft/kinfin1.0.3/kinfin-1.0.3/src/kinfin.py", line 658, in write_output
    self.write_cluster_metrics()
  File "/home/n1806171b/biosoft/kinfin1.0.3/kinfin-1.0.3/src/kinfin.py", line 937, in write_cluster_metrics
    cluster_metrics_line.append(clusterObj.protein_length_stats['mean'])
TypeError: 'NoneType' object has no attribute '__getitem__'

can you give me a hand?
Thanks a lot!

I am sorry for any inconvenience caused.

cheers,

Junhao Chen

@lulahahah
Copy link

excuse me, have you solved this problem? I have the same issue as yours

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

2 participants