ordered genome ?
1
0
Entering edit mode
9.5 years ago
Siva ▴ 20

Hi friends,

Got a small doubt about a genome file. I don't know if my chromosomes are already ordered in my fasta file

Actually I think it is because it's not 1 to 17.

Just want to confirm with you before to extract the region I wanted after a blast. My indexed genome order:

Advance thanks

blast genome • 3.1k views
ADD COMMENT
0
Entering edit mode

I would like to help you but I don't really understand your question.
Do you want to sort the chromosomes in your fasta file? The file you have attached it is sorted alphabetically, not by chromosome. What are you trying to do exactly?

ADD REPLY
0
Entering edit mode

I search a way to know if chromosomes of my genome are in this order.
Actually I got a genome file, and wanted to locate some genes and retrieve the part of the genome, but before that I should know if my genome has already ordered chromosomes.

ADD REPLY
1
Entering edit mode

I would suggest you to do that using bedtools getfasta. Read here for more info: http://bedtools.readthedocs.org/en/latest/content/tools/getfasta.html.

ADD REPLY
0
Entering edit mode

Nope airan I can't make a bedtools because haven't got bed file, and i don't want to retrieve sequences.
The file I give before is already from samtools faidx so no use to take that to make a getfasta.
I just want to know if the genome I have is already a contiguous one so with a good order of his chromosomes.

ADD REPLY
0
Entering edit mode

Your .fasta file doesn't seen to be "karyotypically" ordered.

You should read this question -> Karyotypically Ordered Hg19

A simple way to check the order in your fasta file would be:

grep ">" filename.fasta
ADD REPLY
0
Entering edit mode

Yeah when I did a grep I got the same order than in this file:

The question is: so in my genome the order of the chromosomes is what it's given by the grep result?

It could not be an other order ? In the real genome we'll find it in that order, am I right?

ADD REPLY
1
Entering edit mode

grep will give you the same order as chromosomes appear in your fasta file. If you want to change the order of chromosomes and create a new file, you should be able to do it using Picard. Search biostars for relevant posts. You can use keywords such as "change order chromosomes fasta".

ADD REPLY
0
Entering edit mode

OK thanks guys.

I think chromosomes are conserved in the genome, I'll continue with that.

P.S.: I don't want to change the order, just wanted to confirm the real order in the real genome.

ADD REPLY
1
Entering edit mode
9.5 years ago

Ordering is whatever you need it to be. Some common sorting schemes (sort-bed, for instance) use "lexicographic" ordering of chromosome names, so as to take advantage of that structure. In that scheme, the chromosome label "chr11" is positioned before "chr2", for example. Other schemes can use numeric sorting, where "chr2" would come before "chr11". It just depends on where your data come from and what you need to do.

ADD COMMENT

Login before adding your answer.

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