Skip to content

Commit

Permalink
fixes raw quality rule
Browse files Browse the repository at this point in the history
  • Loading branch information
brwnj committed Jun 5, 2018
1 parent baf12b1 commit b0e16de
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
23 changes: 19 additions & 4 deletions hundo/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -299,21 +299,36 @@ rule create_fasta_from_reference:
"""blastdbcmd -db {params.db} -outfmt %f -entry all -out {output}"""


rule get_raw_fastq_qualities:
rule get_raw_r1_fastq_qualities:
input:
unpack(lambda wc: SAMPLES[wc.sample])
output:
r1 = "logs/{sample}_R1_eestats.txt",
r2 = "logs/{sample}_R2_eestats.txt"
conda:
CONDAENV
threads:
2
1
group:
"sample_group"
shell:
"""
vsearch --threads {threads} --fastq_eestats {input.r1} --output {output.r1}
"""


rule get_raw_r2_fastq_qualities:
input:
unpack(lambda wc: SAMPLES[wc.sample])
output:
r2 = "logs/{sample}_R2_eestats.txt",
conda:
CONDAENV
threads:
1
group:
"sample_group"
shell:
"""
vsearch --threads {threads} --fastq_eestats {input.r1} --output {output.r1} &
vsearch --threads {threads} --fastq_eestats {input.r2} --output {output.r2}
"""

Expand Down
2 changes: 1 addition & 1 deletion hundo/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.10"
__version__ = "1.1.11"

0 comments on commit b0e16de

Please sign in to comment.