diff --git a/README.md b/README.md index 4f7edb6..f0cb039 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,11 @@ To find the neighboring genes of the homologous genes in the databases run this It will update/create the `neighbor_genes.json` file in the `processed` directory.

**Prepare Synteny Matrices:** The aim is to get all the alignments of the genes with respect to one another. This step will create the synteny matrix for each record in the datset where the *i,jth* entry of the matrix is the alignment of *ith* gene with *jth* gene. We use both local and global alignments. Also to provide extra features each *ith* gene is reversed and again the alignment is taken again with the *jth* gene. This solves two purposes:
-1. It makes sure that the `+` strand gene sequence is always aligned with `+` strand gene sequence and vice-versa .
-2. It provides an extra depth to the synteny matrix which helps in better recognition of features.
-To prepare the synteny matrices run this command: +
    +
  1. It makes sure that the `+` strand gene sequence is always aligned with `+` strand gene sequence and vice-versa.
  2. +
  3. It provides an extra depth to the synteny matrix which helps in better recognition of features.
  4. +
+ `python prepare_synteny_matrices.py nos` where:
`nos` is an integer specifying the number of rows that you want to sample from each file to prepare the dataset. This file assumes that: