Skip to content

Python script to compute kmer frequency profile from Fasta formated sequences

License

Notifications You must be signed in to change notification settings

aponsero/kmer_frequency_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kmer_frequency_python

Python script to compute kmer frequency profile from Fasta formated sequences

Dependencies

This script requires the installation of the biopython library : https://biopython.org/wiki/Download

For recent versions of Python (starting with Python 2.7.9 and Python 3.4), try:

pip install biopython

Quick start

Run the exemple file (2000 sequences) using a kmer size of 4.

DB="file_test.fasta"
KM_SIZE=4
RUN="kmer_freq.py"
OUT="test_expected.tab"

python3 $RUN -f $DB -k $KM_SIZE > $OUT

The expected result is available under the name "test_expected.tab"

About

Python script to compute kmer frequency profile from Fasta formated sequences

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages