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

PanSN naming issue in pggb fastas #437

Open
SquRunner opened this issue Jan 1, 2025 · 2 comments
Open

PanSN naming issue in pggb fastas #437

SquRunner opened this issue Jan 1, 2025 · 2 comments

Comments

@SquRunner
Copy link

I am having an issue with the PanSN naming for pggb fastas and would love any insight.

In preparing for pggb, I am running:

fastix -p "NP117#hap#" 117_Assembly.fasta > 117_shasta_fastix_output.fasta

But run into naming issues with:

pggb -i combined_aligned_contigs.fasta.gz -o pangenome

[pggb] warning: there are sequence names (like 'NP117#hap#178') that do not match the Pangenome Sequence Naming (PanSN). [pggb] ERROR: -n/--n-haplotypes must be greater than or equal to 1 when the Pangenome Sequence Naming (PanSN) is not respected.

Unsure what the issue is as the fastix example is:

fastix -p "gen#1#" genome.fa > genome_prefixed.fa

Any insights would be greatly appreciated!

@AndreaGuarracino
Copy link
Member

AndreaGuarracino commented Jan 1, 2025 via email

@SquRunner
Copy link
Author

SquRunner commented Jan 1, 2025 via email

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