MCScanX Full Protocol
A complete guide for synteny analysis using MCScanX
Part 1: MCScanX Installation ~10 min
Clone the repository and compile the source code.
Part 2: Input File Preparation ~1-24h
MCScanX requires two main inputs: a simplified GFF file and a BLAST results file.
1. Simplified GFF
A tab-delimited file with four columns: chromosome gene_id start end.
2. All-vs-All BLAST
Run an all-vs-all BLASTP of protein sequences and format the output as -outfmt 6.
Part 3: Detecting Collinear Blocks ~10 min
Run MCScanX with your GFF and BLAST files (they must have the same prefix).
This generates the key .collinearity and .tandem files.
Part 4: Visualization ~2h
Use the downstream tools included with MCScanX to create plots.
Part 5: Evolutionary Analyses ~5h
A) Ka/Ks Calculation
Calculate Ka/Ks ratios for collinear gene pairs.
B) Gene Duplication Classifier
Classify genes into different duplication types (WGD, tandem, etc.).