-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from OpenKBC/engineering_dev
SVM auc result by using DEG and feature extraction process
- Loading branch information
Showing
16 changed files
with
937 additions
and
453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# Testing | ||
tester.py | ||
|
||
# s3 entire data | ||
data/ | ||
*.pem | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
notebook/notebook_archive/Jun09262021/feature_test_with_DEG.ipynb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import pandas as padj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## DEG pipeline(DESeq2) by Jun | ||
* This workflow generates DEG result by using DESeq2, and it is working for only GEO styles of dataset | ||
|
||
#### Version history | ||
* It has memory issue in Docker | ||
* v1.0.0 is on the pipeline workflow | ||
|
||
#### Requirement | ||
```shell | ||
pip install -r requirements.txt | ||
Rscript installer_Rpackage.R | ||
``` | ||
|
||
#### Usage | ||
* Please change config.yaml for standalone usage | ||
|
||
```shell | ||
snakemake --cores 3 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,12 @@ __email__ = "[email protected]" | |
# Base DEG pipeline by using DESeq2, it could expand to more functions by using this workflow | ||
|
||
# For manual running, please use this one | ||
#configfile: "config.yaml" | ||
# configfile: "config.yaml" | ||
# pipeline_path = '/Users/junheeyun/OpenKBC/multiple_sclerosis_proj/pipelines/deg_pipeline/' | ||
# | ||
|
||
pipeline_path = '/pipelines/deg_pipeline/' | ||
|
||
SAMPLES = ['CD4','CD8','CD14'] | ||
|
||
rule all: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,11 @@ __email__ = "[email protected]" | |
|
||
# For manual running, please use this one | ||
# configfile: "config.yaml" | ||
# pipeline_path = '/Users/junheeyun/OpenKBC/multiple_sclerosis_proj/pipelines/feature_extraction_pipeline/' | ||
# | ||
|
||
pipeline_path = '/pipelines/feature_extraction_pipeline/' | ||
|
||
SAMPLES = ['CD4','CD8','CD14'] | ||
|
||
rule all: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{% extends "bootstrap/base.html" %} | ||
{% import "bootstrap/wtf.html" as wtf %} | ||
|
||
{% block navbar %} | ||
{{nav.mynavbar.render()}} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<div class="container"> | ||
<h3>Workflow controller</h3> | ||
<p>This controller generates proper snakemake config file to run your samples</p> | ||
|
||
<div id="pct"></div> | ||
|
||
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script> | ||
<script> | ||
function poll() { | ||
$.ajax("{{url_for('.workflow_progress', jobid=JOBID)}}", { | ||
dataType: "json" | ||
, success: function(resp) { | ||
console.log(resp); | ||
$("#pct").html("<b>Workflow has been completed</b>"); | ||
if(resp.msg == 'done') { | ||
return; | ||
} else{ | ||
$("#pct").html("<img src='/static/spinning-loading.gif'>"); | ||
setTimeout(poll, 1000.0); | ||
} | ||
} | ||
}); | ||
} | ||
$(function() { | ||
var JOBID = "{{ JOBID }}"; | ||
poll(); | ||
}); | ||
</script> | ||
|
||
<p>Copyright 2021 <a href="https://github.com/OpenKBC/multiple_sclerosis_proj">OpenKBC repository</a></p> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters