Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ONT_pilot_gitlab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Contributor 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
ESB
ONT_pilot_gitlab
Commits
88ef1d4d
Commit
88ef1d4d
authored
4 years ago
by
Susheel Busi
Browse files
Options
Downloads
Patches
Plain Diff
edited the ANALYSIS_RULES for running CASC
parent
1735ea0d
No related branches found
No related tags found
1 merge request
!67
WIP: Checkpoint snakefile
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
2019_GDB/rules/ANALYSIS_RULES
+6
-8
6 additions, 8 deletions
2019_GDB/rules/ANALYSIS_RULES
rules/ANALYSIS_RULES
+6
-8
6 additions, 8 deletions
rules/ANALYSIS_RULES
with
12 additions
and
16 deletions
2019_GDB/rules/ANALYSIS_RULES
+
6
−
8
View file @
88ef1d4d
...
...
@@ -157,7 +157,7 @@ rule casc:
input:
os.path.join(RESULTS_DIR, "assembly/{assembly}.fa")
output:
cas1=os.path.join(RESULTS_DIR, "analysis/crispr/casc/{assembly}_casc_output/{assembly}.results.txt")
,
cas1=os.path.join(RESULTS_DIR, "analysis/crispr/casc/{assembly}_casc_output/{assembly}.results.txt")
# cas2=os.path.join(RESULTS_DIR, "analysis/crispr/casc/{assembly}_casc_output/casc_CRISPR_output.txt")
# cas3=directory(os.path.join(RESULTS_DIR, "analysis/crispr/casc/{assembly}_casc_output"))
log: os.path.join(RESULTS_DIR, "analysis/crispr/casc/{assembly}_casc_output/casc.log")
...
...
@@ -165,13 +165,11 @@ rule casc:
conda: "../envs/analysis.yaml"
shell:
"""
(date &&\
export PATH={config[CASC][PATH]} &&\
export PERL5LIB={config[CASC][PERL5LIB]} &&\
casc -i {input} -o $(dirname {output.cas1}) -n 12 --conservative &&\
echo $(basename -s ".results.txt" {output.cas1}) >> results/analysis/crispr/casc/casc_CRISPR_output.txt &&\
cat {output.cas1} | awk '$8 == "true" {{sum += $2}} END {{print sum}}' >> results/analysis/crispr/casc/casc_CRISPR_output.txt &&\
date) &> >(tee {log})
export PATH={config[CASC][PATH]}
export PERL5LIB={config[CASC][PERL5LIB]}
casc -i {input} -o $(dirname {output.cas1}) -n 12 --conservative
echo $(basename -s ".results.txt" {output.cas1}) >> results/analysis/crispr/casc/casc_CRISPR_output.txt
cat {output.cas1} | awk '$8 == "true" {{sum += $2}} END {{print sum}}' >> results/analysis/crispr/casc/casc_CRISPR_output.txt
"""
rule minced:
...
...
This diff is collapsed.
Click to expand it.
rules/ANALYSIS_RULES
+
6
−
8
View file @
88ef1d4d
...
...
@@ -157,7 +157,7 @@ rule casc:
input:
os.path.join(RESULTS_DIR, "assembly/{assembly}.fa")
output:
cas1=os.path.join(RESULTS_DIR, "analysis/crispr/casc/{assembly}_casc_output/{assembly}.results.txt")
,
cas1=os.path.join(RESULTS_DIR, "analysis/crispr/casc/{assembly}_casc_output/{assembly}.results.txt")
# cas2=os.path.join(RESULTS_DIR, "analysis/crispr/casc/{assembly}_casc_output/casc_CRISPR_output.txt")
# cas3=directory(os.path.join(RESULTS_DIR, "analysis/crispr/casc/{assembly}_casc_output"))
log: os.path.join(RESULTS_DIR, "analysis/crispr/casc/{assembly}_casc_output/casc.log")
...
...
@@ -165,13 +165,11 @@ rule casc:
conda: "../envs/analysis.yaml"
shell:
"""
(date &&\
export PATH={config[CASC][PATH]} &&\
export PERL5LIB={config[CASC][PERL5LIB]} &&\
casc -i {input} -o $(dirname {output.cas1}) -n 12 --conservative &&\
echo $(basename -s ".results.txt" {output.cas1}) >> results/analysis/crispr/casc/casc_CRISPR_output.txt &&\
cat {output.cas1} | awk '$8 == "true" {{sum += $2}} END {{print sum}}' >> results/analysis/crispr/casc/casc_CRISPR_output.txt &&\
date) &> >(tee {log})
export PATH={config[CASC][PATH]}
export PERL5LIB={config[CASC][PERL5LIB]}
casc -i {input} -o $(dirname {output.cas1}) -n 12 --conservative
echo $(basename -s ".results.txt" {output.cas1}) >> results/analysis/crispr/casc/casc_CRISPR_output.txt
cat {output.cas1} | awk '$8 == "true" {{sum += $2}} END {{print sum}}' >> results/analysis/crispr/casc/casc_CRISPR_output.txt
"""
rule minced:
...
...
This diff is collapsed.
Click to expand it.
Susheel Busi
@susheel.busi
mentioned in issue
#26 (closed)
·
4 years ago
mentioned in issue
#26 (closed)
mentioned in issue #26
Toggle commit list
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