Mercurial > repos > ethevenot > univariate
annotate test/test-univ @ 5:5687435b182c draft default tip
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit 957d0e442c875f7cf8461866fac9695175ab371b
author | ethevenot |
---|---|
date | Wed, 28 Feb 2018 06:29:34 -0500 |
parents | 3017385625f6 |
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 |