Mercurial > repos > ethevenot > univariate
annotate test/test-univ @ 4:3017385625f6 draft
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
author | ethevenot |
---|---|
date | Thu, 11 Jan 2018 10:21:17 -0500 |
parents | |
children |
rev | line source |
---|---|
4
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
1 #!/bin/bash |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
2 |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
3 # Constants {{{1 |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
4 ################################################################ |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
5 |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
6 PROG_PATH=$(dirname $0) |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
7 |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
8 # MAIN {{{1 |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
9 ################################################################ |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
10 |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
11 $PROG_PATH/../univariate_wrapper.R dataMatrix_in $PROG_PATH/../test-data/dataMatrix.tsv sampleMetadata_in $PROG_PATH/../test-data/sampleMetadata.tsv variableMetadata_in $PROG_PATH/../test-data/variableMetadata.tsv facC qual tesC kruskal adjC fdr thrN 0.05 variableMetadata_out $PROG_PATH/outputVariableMetadata.tsv |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
12 |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
13 if ! diff "$PROG_PATH/outputVariableMetadata.tsv" "$PROG_PATH/../test-data/output-variableMetadata.tsv" ; then |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
14 echo "Incorrect output variable metadata." >&2 |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
15 exit 1 |
3017385625f6
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit a81d4cc1df719dcc66def660927abda74972afaa
ethevenot
parents:
diff
changeset
|
16 fi |