File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Copyright 2019 Francisco Pina Martins <f.pinamartins@gmail.com>
4+ # This file is part of structure_threader.
5+ # structure_threader is free software: you can redistribute it and/or modify
6+ # it under the terms of the GNU General Public License as published by
7+ # the Free Software Foundation, either version 3 of the License, or
8+ # (at your option) any later version.
9+
10+ # structure_threader is distributed in the hope that it will be useful,
11+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+ # GNU General Public License for more details.
14+
15+ # You should have received a copy of the GNU General Public License
16+ # along with structure_threader. If not, see <http://www.gnu.org/licenses/>.
17+
18+ set -e
19+
20+ LightGreen=' \033[1;32m'
21+ NoColor=' \033[0m'
22+
23+ echo " Runnig ALStructure 'field test'. This will simulate a full wrapped run on small test data."
24+
25+ git_dir=$( pwd)
26+ str_bin=$( which alstructure_wrapper.R)
27+ structure_threader_exec=$( which structure_threader)
28+
29+ tar xvfJ ${git_dir} /tests/smalldata/BigTestData.bed.tar.xz -C ${git_dir} /tests/smalldata/
30+ ${structure_threader_exec} run -i ${git_dir} /tests/smalldata/BigTestData.bed -o ~ /results_als -als ${str_bin} -K 4 -t 4 --ind ${git_dir} /tests/smalldata/indfile.txt
31+
32+ echo -e " ${LightGreen} ALStructure 'Field test' ran successfully. Yay!${NoColor} "
You can’t perform that action at this time.
0 commit comments