wyp1125 / MCScanX

MCScanX: Multiple Collinearity Scan toolkit X version. The most popular synteny analysis tool in the world!
http://chibba.pgml.uga.edu/mcscan2/
228 stars 59 forks source link

Standardize input file format to bed #3

Closed tanghaibao closed 9 years ago

tanghaibao commented 13 years ago

The gff format is confusing (which is my fault, since at the time there was no bed format). The bed format only has the data in different order, and 0-based. The bed format is defined here, and is especially useful since there are a ton of tools that can handle bed files, most notably BEDTOOLS.

http://genome.ucsc.edu/FAQ/FAQformat.html#format1

You can change from gff format to bed through:

awk '{print $1"\t"$3"\t"$4"\t"$2}' grape.gff >grape.bed