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

ERROR: permutation ids #71

Closed
ardy20 opened this issue Dec 11, 2020 · 5 comments
Closed

ERROR: permutation ids #71

ardy20 opened this issue Dec 11, 2020 · 5 comments
Labels

Comments

@ardy20
Copy link

ardy20 commented Dec 11, 2020

Hi

I am trying to run Ragout using a .maf alignment file created with SibeliaZ. But I get the following error:

ERROR: An error occured while running Ragout:
ERROR: permutation ids in /ragout/results/maf-workdir/100/blocks_coords.txt do not follow naming convention: 'genome.chromosome'

Could you please explain which file should I change and how? Is there any script for that?

Regards
Ardy

@sajjadasaf
Copy link

I have faced the same issue by using maf alignment created with SibeliaZ.

@mikolmogorov
Copy link
Owner

Hi,

For the maf workflow, you need to have your fasta sequence names in a form genome.chromosome, where genome is the same name you are using in the recipe file, and chromosome is any unique identifier.

Mikhail

@ardy20
Copy link
Author

ardy20 commented Dec 15, 2020 via email

@mikolmogorov
Copy link
Owner

I'm not aware of any scripts, unfortunately.

@sajjadasaf
Copy link

Dear Mikhaeil,
You can do it by using awk with following command
awk '/^>/{print ">genome.chromosome" ++i; next}{print}' < file.fasta > output.fasta

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

No branches or pull requests

3 participants