Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
Updating rule pca
Browse files Browse the repository at this point in the history
  • Loading branch information
skchronicles committed Oct 13, 2018
1 parent b97bf16 commit 11e049b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Results-template/Scripts/pcacall.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Example Usgae: Rscript pcacall.R 'DEG_cntrl-test_0.5_2' 'STAR_files/sampletable.txt' 'DEG_cntrl-test_0.5_2/RawCountFile_RSEM_genes_filtered.txt' 'hg19seDEG' 'Enter CCBR Project Description and Notes here.'
# Example Usgae: Rscript pcacall.R 'DEG_cntrl-test_0.5_2' 'outfilename.html' 'STAR_files/sampletable.txt' 'DEG_cntrl-test_0.5_2/RawCountFile_RSEM_genes_filtered.txt' 'hg19seDEG' 'Enter CCBR Project Description and Notes here.'
## grab args
args <- commandArgs(trailingOnly = TRUE)
DIR <- args[1]
Expand Down
4 changes: 2 additions & 2 deletions Rules/rnaseq.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ rule pca:
file1=join(workpath,star_dir,"sampletable.txt"),
file2=join(workpath,"DEG_{dtype}","RawCountFile_RSEM_genes_filtered.txt"),
output:
join(workpath,"DEG_{dtype}","PcaReport.html")
outhtml=join(workpath,"DEG_{dtype}","PcaReport.html")
params:
rname='pl:pca',
batch='--mem=24g --time=10:00:00',
Expand All @@ -278,7 +278,7 @@ cp {params.rscript1} {params.outdir}
cp {params.rscript2} {params.outdir}
cd {params.outdir}
module load {params.rver}
Rscript pcacall.R '{params.outdir}' '{input.file1}' '{input.file2}' '{params.projectId}' '{params.projDesc}'
Rscript pcacall.R '{params.outdir}' '{output.outhtml}' '{input.file1}' '{input.file2}' '{params.projectId}' '{params.projDesc}'
"""

rule vennDiagram:
Expand Down

0 comments on commit 11e049b

Please sign in to comment.