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

Megares Downloading Error #294

Closed
ajkarloss opened this issue May 14, 2020 · 4 comments
Closed

Megares Downloading Error #294

ajkarloss opened this issue May 14, 2020 · 4 comments

Comments

@ajkarloss
Copy link

Command used "ariba getref megares Megares.out". Many of my colleagues are also reporting the same.

raise Error('Unexpected header in annotations file. Expected columns: ' + ','.join(expected_columns) + ' but got: ' + ','.join(reader.fieldnames))
ariba.megares_zip_parser.Error: Unexpected header in annotations file. Expected columns: group,class,mechanism,header but got: header,type,class,mechanism,group

@puethe
Copy link
Contributor

puethe commented May 14, 2020

Hello @ajkarloss ,
looks like the new version of megares comes in a different format. We cannot fix that at the moment, as the software is no longer maintained. But you can constrain Ariba to download an older version as e.g. ariba getref megares --version 1.01 Megares.out.

@ajkarloss
Copy link
Author

I have modified the code (megares_zip_parser.py) to parse the MEGARes 2.0.0. Shall I send a pull request?

@puethe
Copy link
Contributor

puethe commented May 14, 2020

Thanks, but the original developer has just put in his own pull request that will be able to handle both versions 1 and 2. We will take that one.

@ajkarloss
Copy link
Author

:) Thanks.

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