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
9ee746cf
Commit
9ee746cf
authored
6 years ago
by
Blaise Li
Browse files
Options
Downloads
Patches
Plain Diff
Trying less stringent gene selection for metagenes
Also updated gene list names.
parent
d5d6959f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PRO-seq/PRO-seq.snakefile
+8
-4
8 additions, 4 deletions
PRO-seq/PRO-seq.snakefile
with
8 additions
and
4 deletions
PRO-seq/PRO-seq.snakefile
+
8
−
4
View file @
9ee746cf
...
...
@@ -169,7 +169,7 @@ ID_LISTS = [
"germline_specific",
"histone",
"spermatogenic_Ortiz_2014", "oogenic_Ortiz_2014",
"piRNA_dependent_prot_si_down4_
WR_RT_
top200", "piRNA_dependent_prot_si_22G_down4",
"piRNA_dependent_prot_si_
22G_
down4_top200", "piRNA_dependent_prot_si_22G_down4",
"csr1_prot_si_supertargets_common"]
annot_dir = config["annot_dir"]
gene_lists_dir = "/pasteur/entites/Mhe/bli/Gene_lists"
...
...
@@ -197,9 +197,11 @@ NORM_TYPES = ["protein_coding", "median_ratio_to_pseudo_ref"]
assert set(NORM_TYPES).issubset(set(SIZE_FACTORS))
# For metagene analyses
META_MARGIN = 300
#META_MARGIN = 300
META_MARGIN = 0
META_SCALE = 2000
UNSCALED_INSIDE = 500
#UNSCALED_INSIDE = 500
UNSCALED_INSIDE = 0
#META_MIN_LEN = 1000
META_MIN_LEN = 2 * UNSCALED_INSIDE
MIN_DIST = 2 * META_MARGIN
...
...
@@ -332,10 +334,11 @@ rule all:
trimmer=TRIMMERS, norm_type=NORM_TYPES, orientation=["all"]),
#expand(OPJ(output_dir, "{trimmer}", "figures", aligner, "{lib}_mean", "{orientation}_on_merged_isolated_%d_{biotype}_min_%d_meta_profile.pdf" % (MIN_DIST, META_MIN_LEN)), trimmer=TRIMMERS, lib=LIBS, orientation=["all"], biotype=["protein_coding"]),
#expand(OPJ(output_dir, "{trimmer}", "figures", aligner, "{lib}_mean", "{orientation}_on_merged_isolated_%d_{biotype}_min_%d_meta_profile.pdf" % (MIN_DIST, META_MIN_LEN)), trimmer=TRIMMERS, lib=LIBS, orientation=["all"], biotype=METAGENE_BIOTYPES),
# TODO: Add metagene profiles similar to small RNA-seq
expand(OPJ(
output_dir, "{trimmer}", "figures", aligner, "{lib}_by_{norm_type}_mean",
"{orientation}_on_merged_isolated_%d_{biotype}_min_%d_meta_profile.pdf" % (MIN_DIST, META_MIN_LEN)),
trimmer=TRIMMERS, lib=LIBS, norm_type=NORM_TYPES, orientation=["all"],
trimmer=TRIMMERS, lib=LIBS, norm_type=NORM_TYPES, orientation=["all"
, "fwd", "rev"
],
biotype=METAGENE_BIOTYPES),
...
...
@@ -1654,6 +1657,7 @@ def meta_params(wildcards):
raise NotImplementedError("Metagene analyses for %s not implemented." % biotype)
# TODO: make scripts to generate bed given gene names and one to plot the metaprofile
rule plot_meta_profile_mean:
input:
bigwig = rules.merge_bigwig_reps.output.bw,
...
...
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