How To Know Sex Of A Pig By Viewing Bamfiles
4
3
Entering edit mode
11.7 years ago
Kwame ▴ 50

Hello, I have bamfiles from some genes on the x-chromosomes for some individual animals but the sexes of the animals are not known. Is there a way I can determine the sexes by looking at read coverage in the bamfiles or by any other means? Thanks

• 5.5k views
ADD COMMENT
1
Entering edit mode

Which species are these 'animals?' Different species have different systems for sex determination.

ADD REPLY
1
Entering edit mode

The animals are pigs

ADD REPLY
3
Entering edit mode
11.7 years ago
JC 13k

If the specie sex definition is similar to human (only one pair of chromosomes define the sex type), the answer is yes, you can compare coverages in the sexual chromosomes to define it. Even in human there are some shared regions between X and Y, but a simple test looking for how many reads are mapped to each one and normalized by chromosome size can revel that.

ADD COMMENT
1
Entering edit mode

I want to add that extreme precaution should be given since your animals are pigs, AFAIK even with the newest pig genome build (Sscrofa 10.2) the annotation on Y chromosome isn't that good

ADD REPLY
0
Entering edit mode

you're right, now we know is pig. I will carefully select the regions to define an average coverage.

ADD REPLY
3
Entering edit mode
11.7 years ago
Rm 8.3k

In short Difficult: for example: In canfam (dog) genome: Y chromosome is not present so it will not be possible to know.

Even if present : say in Human: there are lot of duplicate micro-regions between X, Y chromosomes: in my experience i have seen a lot of reads aligned to Y chromosome; when the samples were from females.

ADD COMMENT
1
Entering edit mode

For human I saw the same, but in females the average coverage for chrX is a the same level than the other chromosomes, the chrY is not completely covered and can be pointed from a male sample.

ADD REPLY
3
Entering edit mode
11.7 years ago
Wen.Huang ★ 1.2k

unless the animals are 100% inbred. it is possible to determine sex by counting heterozygous X sites. If they are mostly homo -> likely male; if a decent fraction is heterozygous -> likely female; This is how plink determine sex using genotypes.

ADD COMMENT
0
Entering edit mode

Thanks guys for your help

ADD REPLY
2
Entering edit mode
11.7 years ago

I recall Brent Pedersen posting this:

Given a set of samples with males and females, take only the data from the Y chromosome and do a PCA plot.

What are some less known yet simple and powerful bioinformatics data analysis steps that you commonly use

ADD COMMENT
0
Entering edit mode

really clever, but I think he plots only SNV data, isn't?

ADD REPLY
0
Entering edit mode

I put in a comment on that post asking for more info - hopefully Brent will visit soon and add more info

ADD REPLY
0
Entering edit mode

That plot was of expression data (or methylation, can't recall). You may be able to do the same by making rows of samples and columns of regions on the sex chromosomes with values of mean (or median) coverage. This would require you to have multiple samples and to know the sex of some of them.

ADD REPLY
0
Entering edit mode

that probably should be rows of regions and columns of samples...

ADD REPLY
0
Entering edit mode

thanks for the details, some day I will need it

ADD REPLY

Login before adding your answer.

Traffic: 2420 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6