Open conte1 opened 7 years ago
Well, I have not tested and understood the BWA ALT contigs is suitable but it is worth to test it out. The safest bet to use nucmer or other whole genome aligner to identify the relationship. You might need to filter to result. Check @gconcepcion's https://github.com/gconcepcion/chain_filter
Sounds good. I think I'll try to determine the differences between aligning with BWA ALT contigs versus aligning to combined haplotigs+primary contigs. Thanks.
Hi,
I'm trying to figure out the best way use a final polished (
4-quiver
) assembly to align to both Primary and Associated contigs. It seems in Chin et al 2016 that haplotigs and primary contigs were combined and then short reads were aligned with bwa and all read mappings were considered since bwa outputs MAPQ=0 for ambiguously mapped reads.I've been looking at bwi-kit and it seems the haplotigs could be used as ALT contigs. However, to do this, location information of the ALT contigs on the primary assembly is needed. So I'm trying get this information from the final
4-quiver
assembly.Is seems the output file
3-unzip/all_h_ctg_edges
provides some of the information of where each haplotig diverges from the primary contigs? Is there an explanation of this file format somewhere? For example, what exactly does the following mean?Finally, this information (haplotig to primary contig locations) seems to have been lost after the final quiver polishing step and the contig/haplotig coordinates have changed after polishing.
Has anyone else tried anything like this before?
Thanks, Matt