Skip to content

Commit

Permalink
adding FeatureCounter
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacozzuto committed Jul 9, 2018
1 parent 3ab831a commit 698bcab
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions lib/FeatureCounter.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* Class for feature counter
*
* @authors
* Luca Cozzuto <lucacozzuto@gmail.com>
*/

class FeatureCounter {

/*
* Properties definition
*/

String input = ''
String output = ''
String annotation = ''
String memory = 0
String strand = ''
Integer cpus = 1
String extrapars = ''

/*
* count feature with htseq-count
*/

def public htseqCount() {

"""
htseq-count ${this.extrapars} -s ${this.strand} -f bam ${this.input} ${this.annotation} > ${this.output}
"""
}



}
2 changes: 1 addition & 1 deletion lib/NGSaligner.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@


/*
* Get genome STATS from Bowtie index
* Get genome STATS from Bowtie2 index
*/

def public genomeStatsFromBowtie2Index() {
Expand Down

0 comments on commit 698bcab

Please sign in to comment.