Closed RenzoTale88 closed 3 years ago
So, adding a command:
chrom=variant.CHROM
After line 60 of file cli.py
fixed the issue
Ah, thanks for this! It looks like chrom
gets defined in the previous code block, but only if a bed callability mask is being used (which I always use, so hadn't hit this). Your fix looks correct to me, so I can implement it, or you can create a pull request if you'd prefer?
Hi @WSDeWitt sorry for coming back this late, I don't mind if it is easier for you to implement the change?
I've made a pull request implementing the fix described in a bit more consistent way with the syntax in the function.
@RenzoTale88 Thanks for helping with this! The patch is now available on pypi (v0.5.4)
@WSDeWitt glad to be of help!
Hello, I'm trying to run the mutyper ancestor command using a genome and its ancestor generated from cactus multiple genome alignments. Specifically, I've generated the alignments using 9 different genomes, extracted the Ancestral sequence for the clade of interest in fasta file, and generated the chain file following the instructions (here)[https://github.com/ComparativeGenomicsToolkit/hal/blob/chaining-doc/doc/chaining-mapping.md]. I've then input the file to the mutyper ancestor command using a VCF file that I've generated on the genome of interest:
However, when I run it I get the following error:
Not sure what is the problem, am I inputting something wrong?
Thank you in advance Andrea