Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
urmi-21 committed Jan 13, 2021
1 parent f519624 commit da3b9f8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/source/cookbook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,20 @@ Using Mapping objects
#create a star object
star=Star(index='path_to_star_index')
#perform alignment using SRA object
bam=star.perform_alignment(sraobject)
#or
sraobject.align(star)
bam=sraobject.bam_path
#execute STAR with any arguments and parameters
kwargs={'--outFilterType' : 'BySJout',
'--runThreadN': '6',
'--outSAMtype': 'BAM SortedByCoordinate',
'--readFilesIn': 'SRR3098744_1.fastq SRR3098744_2.fastq'
}
star.run(**kwargs)
Expand Down

0 comments on commit da3b9f8

Please sign in to comment.