Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bioinfo_utils
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Blaise LI
bioinfo_utils
Commits
6fcd8adc
Commit
6fcd8adc
authored
6 years ago
by
Blaise Li
Browse files
Options
Downloads
Patches
Plain Diff
DESeq2 and bigwig files for unique mappers.
parent
5946a7a6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#7136
failed
6 years ago
Stage: build
Stage: test
Stage: production
Stage: performance
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
RNA_Seq_Cecere/RNA-seq.snakefile
+15
-5
15 additions, 5 deletions
RNA_Seq_Cecere/RNA-seq.snakefile
with
15 additions
and
5 deletions
RNA_Seq_Cecere/RNA-seq.snakefile
+
15
−
5
View file @
6fcd8adc
...
...
@@ -371,7 +371,9 @@ if contrasts_dict["ip"]:
expand(
OPJ(output_dir, aligner, f"mapped_{genome}", "{counter}", "fold_boxplots_{mapped_type}",
"{contrast_type}_{orientation}_{biotype}_{fold_type}_{id_list}_boxplots.pdf"),
counter=COUNTERS, mapped_type=[f"on_{genome}"], contrast_type=["ip"],
#counter=COUNTERS, mapped_type=[f"on_{genome}", f"unique_on_{genome}"],
counter=COUNTERS, mapped_type=[f"on_{genome}"],
contrast_type=["ip"],
orientation=ORIENTATIONS, biotype=DE_BIOTYPES,
fold_type=["mean_log2_RPM_fold"], id_list=ID_LISTS),]
else:
...
...
@@ -382,7 +384,8 @@ if contrasts_dict["de"]:
expand(
OPJ(output_dir, aligner, f"mapped_{genome}", "{counter}", "fold_boxplots_{mapped_type}",
"{contrast_type}_{orientation}_{biotype}_{fold_type}_{id_list}_boxplots.pdf"),
counter=COUNTERS, mapped_type=[f"on_{genome}"], contrast_type=["de"],
counter=COUNTERS, mapped_type=[f"on_{genome}", f"unique_on_{genome}"],
contrast_type=["de"],
orientation=ORIENTATIONS, biotype=DE_BIOTYPES,
fold_type=["log2FoldChange"], id_list=ID_LISTS),]
else:
...
...
@@ -392,16 +395,19 @@ de_files = [
expand(
OPJ(output_dir, aligner, f"mapped_{genome}", "{counter}",
"deseq2_{mapped_type}", "{contrast}", "{orientation}_{biotype}", "{contrast}_counts_and_res.txt"),
counter=COUNTERS, mapped_type=[f"on_{genome}"], contrast=DE_CONTRASTS, orientation=ORIENTATIONS, biotype=DE_BIOTYPES),
counter=COUNTERS, mapped_type=[f"on_{genome}", f"unique_on_{genome}"],
contrast=DE_CONTRASTS, orientation=ORIENTATIONS, biotype=DE_BIOTYPES),
expand(
OPJ(output_dir, aligner, f"mapped_{genome}", "{counter}",
"deseq2_{mapped_type}", "{contrast}", "{orientation}_{biotype}", "{contrast}_{fold_type}_distribution.pdf"),
counter=COUNTERS, mapped_type=[f"on_{genome}"], contrast=DE_CONTRASTS, orientation=ORIENTATIONS, biotype=DE_BIOTYPES,
counter=COUNTERS, mapped_type=[f"on_{genome}", f"unique_on_{genome}"],
contrast=DE_CONTRASTS, orientation=ORIENTATIONS, biotype=DE_BIOTYPES,
fold_type=["log2FoldChange"]),
expand(
OPJ(output_dir, aligner, f"mapped_{genome}", "{counter}",
"deseq2_{mapped_type}", "{contrast}", "{orientation}_{biotype}", "{contrast}_MA_with_{id_list}.pdf"),
counter=COUNTERS, mapped_type=[f"on_{genome}"], contrast=DE_CONTRASTS, orientation=ORIENTATIONS, biotype=DE_BIOTYPES,
counter=COUNTERS, mapped_type=[f"on_{genome}", f"unique_on_{genome}"],
contrast=DE_CONTRASTS, orientation=ORIENTATIONS, biotype=DE_BIOTYPES,
id_list=ID_LISTS + ["lfc_statuses"]),
de_fold_boxplots]
...
...
@@ -420,11 +426,13 @@ bigwig_files = [
OPJ(output_dir, aligner, f"mapped_{genome}", "{lib}_{rep}",
"{lib}_{rep}_{orientation}_{mapped_type}_by_{norm_type}.bw"),
lib=LIBS, rep=REPS, orientation=ORIENTATIONS,
#mapped_type=[f"on_{genome}", f"unique_on_{genome}"], norm_type=NORM_TYPES),
mapped_type=[f"on_{genome}"], norm_type=NORM_TYPES),
expand(
OPJ(output_dir, aligner, f"mapped_{genome}", "{lib}_mean",
"{lib}_mean_{orientation}_{mapped_type}_by_{norm_type}.bw"),
lib=LIBS, orientation=ORIENTATIONS,
#mapped_type=[f"on_{genome}", f"unique_on_{genome}"], norm_type=NORM_TYPES),]
mapped_type=[f"on_{genome}"], norm_type=NORM_TYPES),]
if spikein_microliter_equivalent:
...
...
@@ -610,6 +618,8 @@ def source_sam(wildcards):
##
elif mapped_type == f"polyU_on_{genome}":
return rules.remap_on_genome.output.sam
elif mapped_type == f"unique_on_{genome}":
raise NotImplementedError(f"{mapped_type} only handled from count level on.")
else:
raise NotImplementedError(f"{mapped_type} not handled (yet?)")
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment