Centromere hg38
0
0
Entering edit mode
10 months ago
heureuse • 0

Good morning, I need centromere file of hg38. The one I download from ucsc is chunked with 110 lines instead of 24 lines. I wrote a script to merge them but if I take the positions and put them on ucsc genome browser it only falls on part of the centromere. I think then that I must have downloaded the wrong file.

Do you have an idea on where I can find the good file.

Thank you.

hg38 centromere • 874 views
ADD COMMENT
1
Entering edit mode

I download from ucsc is chunked with 110 lines instead of 24 lines.

which file ? cytoband ? as the filename says, those are the coordinates of the cytogenetics band.

wrote a script to merge them

what have you done ?

see also: How Can I Get The Human Chromosome Centromere Position And Chromosome Length In Grch37/Hg19

ADD REPLY
0
Entering edit mode

This one. enter image description here

For the script, for chr1 for example, if I have 3 rows, I will just take the smallest start and the greatest stop. That way I will have just one entry for chr1

ADD REPLY
1
Entering edit mode

You can use bedtools merge.

wget -q -O- https://genome.ucsc.edu/cgi-bin/hgTables\?hgsid\=1654900614_2cotpic8SktMadZRcx7tYZBbq6md\&boolshad.hgta_printCustomTrackHeaders\=0\&hgta_ctName\=tb_centromeres\&hgta_ctDesc\=table+browser+query+on+centromeres\&hgta_ctVis\=pack\&hgta_ctUrl\=\&fbQual\=whole\&fbUpBases\=200\&fbDownBases\=200\&hgta_doGetBed\=get+BED | 
sort -k1,1V -k2,2n | 
bedtools merge -d 1000000
ADD REPLY
0
Entering edit mode

thanks a lot

ADD REPLY

Login before adding your answer.

Traffic: 1763 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