@@ -35,7 +35,7 @@ The first step is to **define** the set of **rules** and **commands** that the *
...
@@ -35,7 +35,7 @@ The first step is to **define** the set of **rules** and **commands** that the *
| **PING** | "PING" | none | "OK" | Ping service for testing whether the server is alive of not |
| **PING** | "PING" | none | "OK" | Ping service for testing whether the server is alive of not |
| **GET** | "GET n" | n: 0-4 | A sequence | Gets sequence n. It could be any valid sequence of any length. There are only 5 sequences, numbered from 0 to 4 |
| **GET** | "GET n" | n: 0-4 | A sequence | Gets sequence n. It could be any valid sequence of any length. There are only 5 sequences, numbered from 0 to 4 |
| **INFO** | "INFO seq" | seq: A sequence | See format below | Gets information about a specific sequence: total length, number of bases, and their percentages |
| **INFO** | "INFO seq" | seq: A sequence | See format below | Gets information about a specific sequence: total length, number of bases, and their percentages |
| **COMP** | "COMP seq" | seq: A sequene | The complement sequence | Calculates the complement of a specific sequence |
| **COMP** | "COMP seq" | seq: A sequence | The complement sequence | Calculates the complement of a specific sequence |
| **REV** | "REV seq" | seq: A sequence | The reverse sequence | Calculatea the reverse of a specific sequence |
| **REV** | "REV seq" | seq: A sequence | The reverse sequence | Calculatea the reverse of a specific sequence |
| **GENE** | "GENE name" | Gene name. See format below | The sequence of the gene | Gets the complete sequence of a specific GENE |
| **GENE** | "GENE name" | Gene name. See format below | The sequence of the gene | Gets the complete sequence of a specific GENE |