bammds-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bammds-users] Formatting BAM to work with HDGP_hg19_one_allele.txt


From: Freddi Scheib
Subject: [Bammds-users] Formatting BAM to work with HDGP_hg19_one_allele.txt
Date: Thu, 13 Nov 2014 15:13:24 +0000
User-agent: Roundcube Webmail/1.0.2

Hi there,

I'm trying to us bammds to put my aDNA .bam on a PCA (with the .txt provided just to get started). It's aligned to hg19 which has lots of chrUn_g* and other "chromosomes." I'm new to this, is there a way to use samtools to remove reads mapped to these chromosomes or extract only chr1-22, x, y, and MT?

I know how to change the header to be consistent, it's just the actual removal of reads that I have yet to figure out.

If there is an easier to format the .bam in the first place like realigning to an altered hg19 without these regions, advice on that would be appreciated as well.

Thanks!

Freddi Scheib

--
Freddi Scheib
PhD Student
University of Cambridge
Division of Biological Anthropology

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]