Mercurial > repos > greg > ideas
comparison ideas.xml @ 5:4b0f64ae5923 draft
Uploaded
author | greg |
---|---|
date | Thu, 10 Aug 2017 12:41:43 -0400 |
parents | 445bafcf9a4b |
children | 8c6de654737b |
comparison
equal
deleted
inserted
replaced
4:445bafcf9a4b | 5:4b0f64ae5923 |
---|---|
51 #end if | 51 #end if |
52 ############################################## | 52 ############################################## |
53 ## Build the R matrix from the prepMat output | 53 ## Build the R matrix from the prepMat output |
54 ############################################## | 54 ############################################## |
55 #set r_matrix_input = None | 55 #set r_matrix_input = None |
56 #for f in $os.listdir(tmp): | 56 #for f in $os.listdir('tmp'): |
57 #if f.endswith('.bed.gz'): | 57 #if f.endswith('.bed.gz'): |
58 #set r_matrix_input = $os.path.join(tmp, f) | 58 #set r_matrix_input = $os.path.join('tmp', f) |
59 #end if | 59 #end if |
60 #end for | 60 #end for |
61 #assert $r_matrix_input is not None and $os.path.getsize($r_matrix_input) > 0, "Output file from prepMat is missing or empty." | 61 #assert $r_matrix_input is not None and $os.path.getsize($r_matrix_input) > 0, "Output file from prepMat is missing or empty." |
62 && Rscript '$__tool_directory__/build_matrix.R' | 62 && Rscript '$__tool_directory__/build_matrix.R' |
63 -i $r_matrix_input | 63 -i $r_matrix_input |