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

For GRCh38 aligned bam #2

Open
WangKang-Leo opened this issue Mar 19, 2024 · 1 comment
Open

For GRCh38 aligned bam #2

WangKang-Leo opened this issue Mar 19, 2024 · 1 comment

Comments

@WangKang-Leo
Copy link

Hi, I have a question. Polysolver can support bam (GRCh38), but hlaloh is still using hg19. Is it compatible if I input GRCh38 aligned bam?

@pyc1216
Copy link
Owner

pyc1216 commented Mar 27, 2024

Hi!
This may not work because the LOHHLAscript.R script extracts HLA-related regions from a BAM file based on hg19 coordinates using samtools view. If using GRCh38, corresponding coordinates need to be modified.

line597:
samtoolsCMD <- paste("samtools view ", BAMDir, '/', BAMfile, " chr6:29909037-29913661 >> ",regionDir,"/",BAMid,".chr6region.sam",sep="")

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