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

Failure to annotate (KeyError: 'partial') #95

Closed
jessieluolab opened this issue Sep 20, 2016 · 4 comments
Closed

Failure to annotate (KeyError: 'partial') #95

jessieluolab opened this issue Sep 20, 2016 · 4 comments

Comments

@jessieluolab
Copy link

Dear Admin,
Could you please help me out? It seems the *.gff file couldn't be generated due to the annotation error (KeyError: 'partial').

Thanks!

PROCESSING INPUT myproject/input//test_sample2.fasta [STEPS BLOCK 2]
COMPUTING REFSCORES FOR BITSCORE ..... Redo Success!
PARSING LAST OUTPUT FOR metacyc-v5-2011-10-21 ..... Redo Success!
PARSING LAST OUTPUT FOR CAZY_2014_09_04 ..... Redo Success!
PARSING LAST OUTPUT FOR COG_2013-12-27 ..... Redo Success!
SCANNING FOR tRNA USING tRNA-Scan ..... Already Computed!
ANNOTATE ORFS
Processing database : metacyc-v5-2011-10-21

Processing database : CAZY_2014_09_04

Processing database : COG_2013-12-27
ERROR : Failure to annotate in contig test_sample2_54
Traceback (most recent call last):
File "/home/yhuang/software/MetaPathway/metapathways2-2.5.2/libs/python_scripts/MetaPathways_annotate_fast.py", line 291, in write_annotation_for_orf
attributes += ";" + "partial="+orf_dictionary[contig][candidate_orf_pos]['partial']
KeyError: 'partial'
None
..... Redo Success!
PATHOLOGIC INPUT ..... Skipping [NO INPUT]!
CREATING REPORT FILE FOR ORF ANNOTATION ..... Skipping [NO INPUT]!
RUNNING PATHOLOGIC ..... Skipping [NO INPUT]!
RUNNING RPKM_CALCULATION ..... Skipping [NO INPUT]!
***********
INFO : FINISHED PROCESSING THE SAMPLES
THE END
***********

@kishori82
Copy link
Collaborator

Hi

I seem that the lasting stage did not complete or one of the stages did not
complete fully, possibly because of unexpected interrupt. Could you please
reprocess this samples and let me know?

Thanks
Kishori

On Tue, Sep 20, 2016 at 6:29 AM, jessieluolab notifications@github.com
wrote:

Dear Admin,
Could you please help me out? It seems the *.gff file couldn't be
generated due to the annotation error (KeyError: 'partial').

Thanks!

####################################################

PROCESSING INPUT myproject/input//test_sample2.fasta [STEPS BLOCK 2]
COMPUTING REFSCORES FOR BITSCORE ..... Redo Success!
PARSING LAST OUTPUT FOR metacyc-v5-2011-10-21 ..... Redo Success!
PARSING LAST OUTPUT FOR CAZY_2014_09_04 ..... Redo Success!
PARSING LAST OUTPUT FOR COG_2013-12-27 ..... Redo Success!
SCANNING FOR tRNA USING tRNA-Scan ..... Already Computed!
ANNOTATE ORFS
Processing database : metacyc-v5-2011-10-21

Processing database : CAZY_2014_09_04

Processing database : COG_2013-12-27
ERROR : Failure to annotate in contig test_sample2_54
Traceback (most recent call last):
File "/home/yhuang/software/MetaPathway/metapathways2-2.5.
2/libs/python_scripts/MetaPathways_annotate_fast.py", line 291, in
write_annotation_for_orf
attributes += ";" + "partial="+orf_dictionary[contig][candidate_orf_pos]['
partial']
KeyError: 'partial'
None
..... Redo Success!
PATHOLOGIC INPUT ..... Skipping [NO INPUT]!
CREATING REPORT FILE FOR ORF ANNOTATION ..... Skipping [NO INPUT]!
RUNNING PATHOLOGIC ..... Skipping [NO INPUT]!
RUNNING RPKM_CALCULATION ..... Skipping [NO INPUT]!


INFO : FINISHED PROCESSING THE SAMPLES
THE END



You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#95, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAj3yr28cb7n8AiQZaNVSS4YgxNEm1fCks5qr7VsgaJpZM4KBd0w
.

@jessieluolab
Copy link
Author

HI Kishori,

Thanks for your quick response. Please kindly find the test case input and
output from the attached. It was created by following the guide line in the
metapathways wiki page, "Question 11: I usually connect to my Linux/Unix
machine through a ssh shell. How do I run MetaPathways from a command line?"

Please note that the metapathways was installed in our Fedora22 linux
system via command line, so as the PathwayTools. We run metapathway from
the terminals using SSH (PuTTY and Xming). The keyerror:'partial' occurs
when running metapathways for test_sample2.

Thanks again for your help!

Best,
Yongjie

On Tue, Sep 20, 2016 at 9:30 PM, kishori82 notifications@github.com wrote:

Hi

I seem that the lasting stage did not complete or one of the stages did not
complete fully, possibly because of unexpected interrupt. Could you please
reprocess this samples and let me know?

Thanks
Kishori

On Tue, Sep 20, 2016 at 6:29 AM, jessieluolab notifications@github.com
wrote:

Dear Admin,
Could you please help me out? It seems the *.gff file couldn't be
generated due to the annotation error (KeyError: 'partial').

Thanks!

####################################################

PROCESSING INPUT myproject/input//test_sample2.fasta [STEPS BLOCK 2]
COMPUTING REFSCORES FOR BITSCORE ..... Redo Success!
PARSING LAST OUTPUT FOR metacyc-v5-2011-10-21 ..... Redo Success!
PARSING LAST OUTPUT FOR CAZY_2014_09_04 ..... Redo Success!
PARSING LAST OUTPUT FOR COG_2013-12-27 ..... Redo Success!
SCANNING FOR tRNA USING tRNA-Scan ..... Already Computed!
ANNOTATE ORFS
Processing database : metacyc-v5-2011-10-21

Processing database : CAZY_2014_09_04

Processing database : COG_2013-12-27
ERROR : Failure to annotate in contig test_sample2_54
Traceback (most recent call last):
File "/home/yhuang/software/MetaPathway/metapathways2-2.5.
2/libs/python_scripts/MetaPathways_annotate_fast.py", line 291, in
write_annotation_for_orf
attributes += ";" + "partial="+orf_dictionary[
contig][candidate_orf_pos]['
partial']
KeyError: 'partial'
None
..... Redo Success!
PATHOLOGIC INPUT ..... Skipping [NO INPUT]!
CREATING REPORT FILE FOR ORF ANNOTATION ..... Skipping [NO INPUT]!
RUNNING PATHOLOGIC ..... Skipping [NO INPUT]!
RUNNING RPKM_CALCULATION ..... Skipping [NO INPUT]!


INFO : FINISHED PROCESSING THE SAMPLES
THE END



You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#95, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/
AAj3yr28cb7n8AiQZaNVSS4YgxNEm1fCks5qr7VsgaJpZM4KBd0w>
.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#95 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQFvGDuthgG0Y1BkJOcSvXTN1QTPmJttks5qr9_4gaJpZM4KBd0w
.

@kishori82
Copy link
Collaborator

Hi Yongjie,

I did not see any attachment with your email.

Thanks
Kishori

On Tue, Sep 20, 2016 at 11:34 AM, jessieluolab notifications@github.com
wrote:

HI Kishori,

Thanks for your quick response. Please kindly find the test case input and
output from the attached. It was created by following the guide line in the
metapathways wiki page, "Question 11: I usually connect to my Linux/Unix
machine through a ssh shell. How do I run MetaPathways from a command
line?"

Please note that the metapathways was installed in our Fedora22 linux
system via command line, so as the PathwayTools. We run metapathway from
the terminals using SSH (PuTTY and Xming). The keyerror:'partial' occurs
when running metapathways for test_sample2.

Thanks again for your help!

Best,
Yongjie

On Tue, Sep 20, 2016 at 9:30 PM, kishori82 notifications@github.com
wrote:

Hi

I seem that the lasting stage did not complete or one of the stages did
not
complete fully, possibly because of unexpected interrupt. Could you
please
reprocess this samples and let me know?

Thanks
Kishori

On Tue, Sep 20, 2016 at 6:29 AM, jessieluolab notifications@github.com
wrote:

Dear Admin,
Could you please help me out? It seems the *.gff file couldn't be
generated due to the annotation error (KeyError: 'partial').

Thanks!

####################################################

PROCESSING INPUT myproject/input//test_sample2.fasta [STEPS BLOCK 2]
COMPUTING REFSCORES FOR BITSCORE ..... Redo Success!
PARSING LAST OUTPUT FOR metacyc-v5-2011-10-21 ..... Redo Success!
PARSING LAST OUTPUT FOR CAZY_2014_09_04 ..... Redo Success!
PARSING LAST OUTPUT FOR COG_2013-12-27 ..... Redo Success!
SCANNING FOR tRNA USING tRNA-Scan ..... Already Computed!
ANNOTATE ORFS
Processing database : metacyc-v5-2011-10-21

Processing database : CAZY_2014_09_04

Processing database : COG_2013-12-27
ERROR : Failure to annotate in contig test_sample2_54
Traceback (most recent call last):
File "/home/yhuang/software/MetaPathway/metapathways2-2.5.
2/libs/python_scripts/MetaPathways_annotate_fast.py", line 291, in
write_annotation_for_orf
attributes += ";" + "partial="+orf_dictionary[
contig][candidate_orf_pos]['
partial']
KeyError: 'partial'
None
..... Redo Success!
PATHOLOGIC INPUT ..... Skipping [NO INPUT]!
CREATING REPORT FILE FOR ORF ANNOTATION ..... Skipping [NO INPUT]!
RUNNING PATHOLOGIC ..... Skipping [NO INPUT]!
RUNNING RPKM_CALCULATION ..... Skipping [NO INPUT]!


INFO : FINISHED PROCESSING THE SAMPLES
THE END



You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#95, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/
AAj3yr28cb7n8AiQZaNVSS4YgxNEm1fCks5qr7VsgaJpZM4KBd0w>
.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#95
issuecomment-248301577>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AQFvGDuthgG0Y1BkJOcSvXTN1QTPmJttks5qr9_4gaJpZM4KBd0w>
.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#95 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAj3yjJkwxsXdktqobJ6k5JdSPQym_Uuks5qr_zzgaJpZM4KBd0w
.

@hallamlab
Copy link
Collaborator

A new version of MP will be available shortly and address this issue

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