Skip to content

Commit

Permalink
[refactor] updated description of callable functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ChocoParrot committed Sep 8, 2021
1 parent 34b9ff9 commit 2f377f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ trim_trailing: remove ORFs are the edge of the sequence that do not have a defin

**getORFNucleotides()**
```
Returns the loci of discovered ORFs in a dictionary format.
Returns a list of Biopython Seq objects or loci of discovered ORFs with Biopython Seq objects in a dictionary format.
sequence: sequence in Biopython Seq or String format.
return_loci: return the loci together with the nucleotide sequences. Default: False
Expand All @@ -43,7 +43,7 @@ trim_trailing: remove ORFs are the edge of the sequence that do not have a defin

**getORFProteins()**
```
Returns the loci of discovered ORFs in a dictionary format.
Returns a list of Biopython Seq objects or loci of discovered ORFs with Biopython Seq objects in a dictionary format.
sequence: sequence in Biopython Seq or String format.
translation_table: translation table as per BioPython. Default: 1
Expand Down
4 changes: 2 additions & 2 deletions orffinder/orffinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def findSense (sequence, sense="+", start_codons=["ATG"], stop_codons=["TAA", "T
def getORFNucleotides (sequence, return_loci=False, **kwargs):

"""
Returns the loci of discovered ORFs in a dictionary format.
Returns a list of Biopython Seq objects or loci of discovered ORFs with Biopython Seq objects in a dictionary format.
sequence: sequence in Biopython Seq or String format.
return_loci: return the loci together with the nucleotide sequences. Default: False
Expand Down Expand Up @@ -188,7 +188,7 @@ def getORFNucleotides (sequence, return_loci=False, **kwargs):
def getORFProteins (sequence, translation_table=1, return_loci=False, **kwargs):

"""
Returns the loci of discovered ORFs in a dictionary format.
Returns a list of Biopython Seq objects or loci of discovered ORFs with Biopython Seq objects in a dictionary format.
sequence: sequence in Biopython Seq or String format.
translation_table: translation table as per BioPython. Default: 1
Expand Down

0 comments on commit 2f377f8

Please sign in to comment.