Skip to content

Commit

Permalink
updateDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
urmi-21 committed Jan 15, 2020
1 parent f929f78 commit 51a75ef
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pyrpipe/assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def perform_assembly(bam_file):
"""Function to perform assembly using a bam file as input. Inherited by all children.
:param bam_file: the temperature value
:param bam_file: path to input BAM
:type bam_file: string
:return: path to output GTF or output directory depending on the specific assembly program.
Expand Down
31 changes: 21 additions & 10 deletions pyrpipe/mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ class Hisat2(Aligner):
"""This class represents hisat2 program.
Parameters
----------
----------
hisat2_index: string
path to q histat2 index. This index will be used when hisat is invoked using this object.
Expand Down Expand Up @@ -91,26 +90,38 @@ def __init__(self,hisat2_index="",**kwargs):

def build_index(self,index_path,index_name,*args,verbose=False,quiet=False,logs=True,objectid="NA",**kwargs):
"""Build a hisat index with given parameters and saves the new index to self.hisat2_index.
Parameters
----------
index_path: string
Path where the index will be created
index_name: string
A name for the index
args: tuple
Path to reference input files
verbose (bool): Print stdout and std error
quiet (bool): Print nothing
logs (bool): Log this command to pyrpipe logs
objectid (str): Provide an id to attach with this command e.g. the SRR accession. This is useful for debugging, benchmarking and reports.
verbose : bool
Print stdout and std error
quiet : bool
Print nothing
logs : bool
Log this command to pyrpipe logs
objectid : string
Provide an id to attach with this command e.g. the SRR accession. This is useful for debugging, benchmarking and reports.
kwargs: dict
Parameters for the hisat2-build command
Returns
-------
bool:
Returns the status of hisat2-build
:return: Returns the status of hisat2-build
:rtype: bool
"""

#check input references
Expand Down

0 comments on commit 51a75ef

Please sign in to comment.