Skip to content

2.2 creates json file containing motif sequences #47

Merged
merged 20 commits into from
Jan 10, 2019
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
5b8bb7a
Merge branch 'dev' into estimation_motifs
renewiegandt Jan 8, 2019
fe5ab42
get_best_motif.py: Added alternative name to best_motif file
renewiegandt Jan 8, 2019
79b7e24
get_best_motif.py: removed whitespace from motif header
renewiegandt Jan 8, 2019
8377340
added script get_motif_seq.R
renewiegandt Jan 8, 2019
3f9e4bc
pipeline.nf: implemented get_motif_seq.R
renewiegandt Jan 8, 2019
49ec389
added r packages: RJSONIO, varhandle to masterenv.yml
renewiegandt Jan 8, 2019
98ab76a
Merge branch 'dev' into estimation_motifs
renewiegandt Jan 8, 2019
d979e16
get_best_motif.py: added parameter cluster id
renewiegandt Jan 9, 2019
ea2e171
get_motif_seq.R: added parameter tmp_path and cluster_id
renewiegandt Jan 9, 2019
8e5049e
pipeline.nf: adjusting to new parameters required by get_best_motif;…
renewiegandt Jan 9, 2019
1439045
Added log file for part 2.2_motif_estimation
renewiegandt Jan 9, 2019
cff01fc
Merge branch 'dev' into estimation_motifs
renewiegandt Jan 9, 2019
0f4bf46
added missing shebangs to 2.2 scripts #44
renewiegandt Jan 9, 2019
c0a462b
pipeline.nf: adjusting to new parameter required by 2.1 scripts
renewiegandt Jan 9, 2019
e62bb36
pipeline.nf: fixed typos
renewiegandt Jan 10, 2019
f3b3db4
get_best_motif.py: Removed additional whitespace in motif header
renewiegandt Jan 10, 2019
2d2f8cb
pipeline.nf: removed code for debuging
renewiegandt Jan 10, 2019
43c55ae
bed_to_fasta.R: changes lapply to vapply
renewiegandt Jan 10, 2019
310702e
Removed import os from get_best_motif.py
renewiegandt Jan 10, 2019
b70a38b
Removed newline from get_motif_seq
renewiegandt Jan 10, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added missing shebangs to 2.2 scripts #44
renewiegandt committed Jan 9, 2019
commit 0f4bf4694c967395116e2670c4aaee549eb52c6e
2 changes: 2 additions & 0 deletions bin/2.2_motif_estimation/get_best_motif.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python

'''
parses arguments using argparse
@return args list of all parameters
2 changes: 1 addition & 1 deletion bin/2.2_motif_estimation/get_motif_seq.R
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ read_data <- function(path){
#' @param output Output JSON-file
#' @param num Get best (num) motifs.
#'
#' @author Ren� Wiegandt <Rene.Wiegandt(at)mpi-bn.mpg.de>
#' @author René Wiegandt <Rene.Wiegandt(at)mpi-bn.mpg.de>
create_seq_json <- function(input, output, num, tmp_path, cluster_id) {

if (!file.exists(input)) {
1 change: 1 addition & 0 deletions bin/2.2_motif_estimation/motif_estimation.nf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env nextflow

params.bed = ""
params.out = ""