Skip to content

Commit

Permalink
adding support to salmon and skewer
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacozzuto committed May 16, 2018
1 parent 5f8aa45 commit 596bb3f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions lib/Trimming.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* Repository for biological functions
*
* @authors
* Luca Cozzuto <lucacozzuto@gmail.com>
*/

class Trimming {

/*
* Function for trimming read pairs with Skewer
*/

static def trimPairsWithSkewer( pair_id, reads, minread, cpus, extrapars="", debug="no") {
"""
if [ `echo ${debug} == "debug"` ]; then print="echo "; else print=""; fi
\$print skewer ${extrapars} -t ${cpus} -l ${minread} -n -u -o ${pair_id} -z ${reads}
"""
}

}

0 comments on commit 596bb3f

Please sign in to comment.