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

Time for converting from .ggr to <multi-fasta alignment output (concatenated LCBs)> #105

Open
valery-shap opened this issue Feb 1, 2022 · 1 comment

Comments

@valery-shap
Copy link

valery-shap commented Feb 1, 2022

Hello,

I'd like to have a file where I can identify the snps with the gene and I tried the command:
harvesttools -i parsnp.ggr -M msa_lcb.aln
and it stucked on writing the output.
then I tried
harvesttools -x parsnp.xmfa -M msa_lcb.aln
and it stucked too.
there is no error.
converting to -S worked for some minutes.
What is the normal time for coverting to alignment file with concatenated LCBs?
Upd It has taken hours for converting on hpc server (88 cpus and 250 gb memory).
But I have another question. Where I could find the information about coordinates of lcb (start and end) in the alignment file?

Valery

@bkille
Copy link
Contributor

bkille commented Nov 16, 2023

Hi @valery-shap,

How large is the xmfa file? The coordinates of the LCB are in the header of each record within the LCB. The header has the following format

[fileIndex]:[i]-[j] [strand] cluster[clusterIndex] s[contigIndex]:p[contigPosition]

i.e. the corresponding location of the sequence in the file fileIndex is the contigIndexth contig in the file and starts at position contigPosition.

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