Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Commit

Permalink
enable multithreading in trimmomatic calls and improve figure size fo…
Browse files Browse the repository at this point in the history
…r association mapping results
  • Loading branch information
cmdoret committed Aug 11, 2019
1 parent 07d2435 commit 488e490
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/assoc_mapping/case_control.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ odds_chrom$effect_str <- odds_chrom$Me/(odds_chrom$Mo+odds_chrom$Me)
odds_chrom$effect_str[odds_chrom$effect_str>0.5] <- 0.5

# Saving manhattan plot to pdf
pdf(paste0(out_folder, "/../plots/","case_control_hits.pdf"), width=12, height=12)
pdf(paste0(out_folder, "/../plots/","case_control_hits.pdf"), width=10, height=8)
ggplot(data=odds_chrom, aes(x=BP/1000000, y=fisher)) +
geom_point(aes(col=effect_str), size = 2) +
facet_grid(~Chr, space='free_x', scales = 'free_x') +
Expand Down
4 changes: 2 additions & 2 deletions src/wgs_wild/bwa_wgs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ trimR=\$(echo \$reverse | sed 's%/\([^/]*\)$%/trim.\1%')
trimFU=\$(echo \$trimF | sed 's/R1.fastq.gz$/R1U.fastq.gz/')
trimRU=\$(echo \$trimR | sed 's/R2.fastq.gz$/R2U.fastq.gz/')
# Trim low quality ends
# Trim low quality ends
trimmomatic PE \$forward \$reverse \$trimF \$trimFU \$trimR \$trimRU \
-trimlog ${logs}/${sample}-trim.log \
-trimlog ${logs}/${sample}-trim.log -threads $threads \
LEADING:20 TRAILING:20
# Mapping paired ends reads
Expand Down

0 comments on commit 488e490

Please sign in to comment.