Skip to content

Commit

Permalink
add patch to move reads and assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
SilasK committed Sep 21, 2023
1 parent 8645c5f commit 4692d2e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ include: "rules/sra.smk"
include: "rules/gtdbtk.smk"
include: "rules/cobinning.smk"
include: "rules/strains.smk"
include: "rules/patch.smk"


CONDAENV = "envs" # overwrite definition in download.smk
Expand Down
20 changes: 20 additions & 0 deletions workflow/rules/patch.smk
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
localrules: move_qc_reads, copy_assembly

# Rules that are usefull temporarily to update to new version of atlas

rule move_qc_reads:
input:
"{sample}/sequence_quality_control/{sample}_clean_{fraction}.fastq.gz"
output:
"QCreads/{sample}_{fraction}.fastq.gz"
shell:
"mv {input} {output}"

rule copy_assembly:
input:
"{sample}/{sample}_contigs.fasta"
output:
"Assembly/fasta/{sample}.fasta"
shell:
"cp {input} {output}"

0 comments on commit 4692d2e

Please sign in to comment.