Skip to content

Commit 21a28e3

Browse files
committed
clean up readme
1 parent 0393cbf commit 21a28e3

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
<<<<<<< HEAD
21
# Python Codon Adaptation Index
3-
=======
4-
# CAI.py: Python Codon Adaptation Index
5-
>>>>>>> 4ff618de9bd610dcc95732c2bbf92b646c696ff2
62

73
An implementation of Sharp and Li's 1987 formulation of the codon adaption index.
84

@@ -14,20 +10,14 @@ Sharp, P. M., & Li, W. H. (1987). The codon adaptation index--a measure of direc
1410

1511
## Usage
1612
### Simple Usage
17-
<<<<<<< HEAD
18-
The simple
19-
=======
2013
The simplest way to calculate the CAI of a sequence is to call `CAI()` with the sequence as the first (required) argument and with the `sequences` argument included. The sequences argument is a list of reference sequences. Determining which sequences to use as the reference set is left to the user.
21-
>>>>>>> 4ff618de9bd610dcc95732c2bbf92b646c696ff2
14+
2215
```python
2316

2417
from CAI import CAI
2518

2619
print CAI("ATGGATTAC...", sequences=["ATGTTTGCTAAA", "ATGCGATACAGC",...])
2720

28-
<<<<<<< HEAD
29-
```
30-
=======
3121
```
3222
### Advanced Usage
3323
If you have already computed the weights or RSCU values of the reference set, you can supply `CAI()` with one or the other as arguments. They must be formatted as a dictionary and contain values for every codon.
@@ -45,4 +35,3 @@ Feel free to contribute, open issues, or let me know about bugs. Anything is wel
4535

4636
## Contact
4737
I'm available for contact at [benjamin_lee@college.harvard.edu](mailto:benjamin_lee@college.harvard.edu).
48-
>>>>>>> 4ff618de9bd610dcc95732c2bbf92b646c696ff2

0 commit comments

Comments
 (0)