Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Python Requirements

The repDNA was tested to work under Python 2.7, 3.3 and 3.4 on Windows, Mac and Linux.

Update: Tested with 3.9.2 on Windows, seems to work. (13.05.2021)


Installation
============
Expand All @@ -37,4 +39,6 @@ Otherwise, download and unzip the repDNA package, go to the directory, and type:

or

`sudo python setup.py install`
`sudo python setup.py install`

Note: If you use windows, you might need to elevate your CMD.
2 changes: 1 addition & 1 deletion repDNA/ac.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__author__ = 'Fule Liu'

from util import get_data, generate_phyche_value
from .util import get_data, generate_phyche_value
from functools import reduce


Expand Down
4 changes: 2 additions & 2 deletions repDNA/nac.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
__author__ = 'Fule Liu'


from nacutil import make_upto_kmer_list, make_revcomp_kmer_list, make_kmer_vector
from util import get_data
from .nacutil import make_upto_kmer_list, make_revcomp_kmer_list, make_kmer_vector
from .util import get_data


def check_nac_para(k, normalize=False, upto=False, alphabet='ACGT'):
Expand Down
2 changes: 1 addition & 1 deletion repDNA/nacutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import math
import itertools

from util import frequency
from .util import frequency


def make_kmer_list(k, alphabet):
Expand Down
4 changes: 2 additions & 2 deletions repDNA/psenac.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__author__ = 'Fule Liu'

from util import get_data
from psenacutil import extend_phyche_index
from .util import get_data
from .psenacutil import extend_phyche_index


def check_psenac(lamada, w, k):
Expand Down
4 changes: 2 additions & 2 deletions repDNA/psenacutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import pickle
from math import pow

from util import frequency
from nacutil import make_kmer_list
from .util import frequency
from .nacutil import make_kmer_list


ALPHABET = 'ACGT'
Expand Down