wyp1125 / MCScanX

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

Increase the default length of species ID (from gff/bed) #41

Open zhaotao1987 opened 3 years ago

zhaotao1987 commented 3 years ago

@tanghaibao @wyp1125 Hi Haibao,hi Yupeng,

Regards! Sorry to bother, I was wondering how to modify the code to make MCS take more letters as the species ID. Now the software take a two-letter short name for the species ID. Because for my analysis, sometimes I have many genomes from the same genus or family, so it's a pain for me to come up with unique two-letter IDs for these genomes. So it would be very handy if the software can take into account, say 4/5 letters as the species ID. It seems to me maybe I should adjust the function of "read_gff" in "read_data.cc" (maybe somewhere else as well), but I know little about c. Thanks very much! https://github.com/wyp1125/MCScanX/blob/master/read_data.cc Best, Tao

xiaoyezao commented 2 years ago

Did you finally find a solution to increase the species ID?