1. Casey Dunn
  2. agalma


Casey Dunn  committed 3eeb866

pass argument through to filter_illumina, re #49

  • Participants
  • Parent commits 0de506c
  • Branches issue-49

Comments (0)

Files changed (1)

File agalma/sanitize.py

View file
 	default=28, help="""
 	Filter out reads that have a mean quality < MIN.""")
-pipe.add_argument('number', short='n', type=int, metavar='NUM',
+pipe.add_argument('nreads', short='n', type=int, metavar='NUM',
 	default=None, help="""
 	Consider only the first NUM reads that pass filter, others are discarded""")
 		wrappers.FastQC(fastqc, outdir)
-def sanitize(id, data, outdir, gzip, quality):
+def sanitize(id, data, outdir, gzip, quality, nreads):
 	"""Filter out low-quality and adapter-contaminated reads"""
 	outputs = []
-		quality=quality, sep='/')
+		quality=quality, 
+		nreads = nreads,
+		sep='/')