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

Slow loading for assembly-assembly alignment bams #1520

Open
jrobinso opened this issue May 24, 2024 · 2 comments
Open

Slow loading for assembly-assembly alignment bams #1520

jrobinso opened this issue May 24, 2024 · 2 comments

Comments

@jrobinso
Copy link
Contributor

From igv-help group...

Hi,
We are trying to visualize bams generated by minimap2, run as part of the dipcall pipeline (https://github.com/lh3/dipcall), for the Genome in a Bottle HG002 Q100 T2T assembly to GRCh38 with IGV. However, loading the tracks with these alignments when moving to a new position is really slow for both the desktop IGV app and IGV.js. We assume this is because they are chromosome scale alignments, links to the bams below. We would like to access the files from the FTP so that we can easily share the IGV session with collaborators. Do you have recommendations for IGV preferences or modifications to the bams, e.g. removing soft clipping or alternate alignments, to speed up loading these tracks? Alternatively, is there a better way to visualize assembly-assembly alignments in IGV?

Here are the links to the hap1 and hap2 bams
https://ftp-trace.ncbi.nlm.nih.gov/ReferenceSamples/giab/data/AshkenazimTrio/analysis/NIST_HG002_DraftBenchmark_defrabbV0.015-20240215/dipcall_output/GRCh38_HG2-T2TQ100-V1.0_dipcall-z2k.hap1.bam

https://ftp-trace.ncbi.nlm.nih.gov/ReferenceSamples/giab/data/AshkenazimTrio/analysis/NIST_HG002_DraftBenchmark_defrabbV0.015-20240215/dipcall_output/GRCh38_HG2-T2TQ100-V1.0_dipcall-z2k.hap2.bam

Thanks
Nate

@jrobinso
Copy link
Contributor Author

You assumption is correct, the chromosome scale alignments are causing problems. Until there is a fix I suggest converting these BAM files to "bed" or "psl" format. You can convert to bed format using bedtools

@baozg
Copy link

baozg commented Sep 9, 2024

Is it possbile to chunk the whole-genome alignment for IGV? Another alternatives would be chunking the genome and align them as reads #1551

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