Skip to content

Commit

Permalink
add fix for processing when reads become too small
Browse files Browse the repository at this point in the history
  • Loading branch information
florianzwagemaker committed Feb 22, 2021
1 parent 55ccd93 commit d8192a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/rules/Nano_Ref_Cut-primers.smk
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ rule Cut_primers:
shell:
"""
python bin/scripts/RemoveONTPrimers.py --input {input.fastq} --reference {input.ref} --primers {input.primers} --threads {threads} --output {output}
sed -i "N;N;N;/\\n\\n/d" {output}
"""
2 changes: 1 addition & 1 deletion config/pipeline_parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ threads:
Nanopore_reference_alignment: 6
Nanopore_SoftClipper: 2
Nanopore_cleanup: 4
Nanopore_primer_removal: 26
Nanopore_primer_removal: 12
Nanopore_QC: 6

######################################
Expand Down

0 comments on commit d8192a9

Please sign in to comment.