Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Selvalakshmi27 authored Nov 15, 2022
1 parent 772b47e commit 7bb2141
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,32 @@
# kspectra
# Kspectra
Generate k-mer spectra from fasta sequences to observe modalities of distribution.

## Author
- Selvalakshmi (https://github.com/Selvalakshmi27)

## Dependencies
- Python (3.9.12)
- matplotlib (3.5.2)
- biopython (1.79)
- pandas (1.3.4)

## Usage
```
python kspectra.py [input.fasta] [k-mer size] [x-limit] [title]
```
- input.fasta = Genome sequence in fasta format
- k-mer size = Desired k-mer size (Ex: 3,9,11)
- x-limit = X-limit value for the kmer spectra graph
- title = Title for the gragh

## Example
```
python kspectra.py e.coli_refseq.fasta 8 400 E.coli_K=8
```
## Output
Three files are generated as the output:
- kmer_count.txt
- kmer_frequency.txt
- kmer_spectra.png

Sample output files and reference e.coli genome is found under Example folder

0 comments on commit 7bb2141

Please sign in to comment.