Skip to content

Commit

Permalink
test salmon dai
Browse files Browse the repository at this point in the history
  • Loading branch information
mspodda committed May 24, 2024
1 parent 556ff83 commit 4c12407
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified test_data/chr7.fa.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions workflow/R/R_salmon.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
setwd(final_output)
source("/home/runner/work/isoworm/isoworm/workflow/R/config_all.R")
lapply(my_packages, require, character.only = TRUE)
library(data.table)
### Create a list with all txt files containing the samples for each tissues line
### Extract all samples from the txt list files for each tissues line typology
setwd(txt_samples)
Expand Down Expand Up @@ -83,7 +83,7 @@ db_ratio$group <- NA
db_ratio$IDS <- NA
tissues_numbers <- c()
for (i in 1:length(samples_typologies)){
tissues_numbers <- c(tissues_numbers,as.integer(count(get(paste0(samples_typologies[i],"_BRAF_results")))))
tissues_numbers <- c(tissues_numbers,nrow(get(paste0(samples_typologies[i],"_BRAF_results"))))
}

count = 1
Expand Down
2 changes: 1 addition & 1 deletion workflow/snakefile_final.smk
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ rule salmon_quant:
priority: 60
shell:
"""
{params.salmon} quant -l {params.libtype} -i {params.salmon_index} -1 {input.f1} -2 {input.f2} -p {threads} -o {params.outdir_all_salmon}
{params.salmon} quant --minAssignedFrags 9 -l {params.libtype} -i {params.salmon_index} -1 {input.f1} -2 {input.f2} -p {threads} -o {params.outdir_all_salmon}
"""


Expand Down

0 comments on commit 4c12407

Please sign in to comment.