Question: How to sort chromosome name in bed file
0
raya.girish • 20 wrote:
Hello Friends!! I have one stupid question i have bed file
chr1 955541 955763 AGRN.chr1.955552.955753
chr1 957569 957852 AGRN.chr1.957580.95784
in my bed file my chromosome name are not sorted i want output in
chr1 chr2 ..... chr22 chrX chrY chrM
can anyone help me out
thanks!!!!!!
ADD COMMENT
• link
•
modified 4.6 years ago
by
GenoMax ♦ 96k
•
written
4.6 years ago by
raya.girish • 20
use the sortBed
can you tell me how should i sort using sortbed i mean commands
i used bedtool/sort -chrThenSizeA -i my.bed > new.bed
it not working
Please see the answer below and provide feedback.
If an answer was helpful, you should upvote it; if the answer resolved your question, you should mark it as accepted.