-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathtest.sh
More file actions
executable file
·43 lines (36 loc) · 1.35 KB
/
test.sh
File metadata and controls
executable file
·43 lines (36 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh
TESTDIR="test_data"
if [ "$1" = "--no-deeplc" ]; then
NODEEPLC=true
else
NODEEPLC=false
fi
if [ ! -d "$TESTDIR" ]; then
echo "You must have the test dataset to run this test."
exit 1
fi
cd "$TESTDIR"
rm -vf *.features* *.tsv *.txt
echo ""
echo "Starting ms1searchpy ..."
echo "------------------------"
ms1command="time ms1searchpy -d sprot_ecoli_ups.fasta -ad 1 -nproc 6 -debug "
if ! $NODEEPLC; then ms1command+="-deeplc deeplc -deeplc_library deeplc.lib "; fi
ms1command+="*.mzML"
echo "$ms1command"
eval "$ms1command" && echo "DirectMS1 run successful."
echo ""
echo "Starting ms1combine ..."
echo "-----------------------"
time ms1combine *_UPS_4_0?.features_PFMs_ML.tsv -out UPS_4 && echo "ms1combine run successful."
time ms1combine *_UPS_2_0?.features_PFMs_ML.tsv -out UPS_2 && echo "ms1combine run successful."
echo ""
echo "Starting ms1todiffacto ..."
echo "--------------------------"
time ms1todiffacto -dif diffacto -S1 *_UPS_4_0?.features_proteins.tsv -S2 *_UPS_2_0?.features_proteins.tsv \
-norm median -out diffacto_output.tsv -min_samples 3 -debug && echo "ms1todiffacto run successful."
echo ""
echo "Starting directms1quant ..."
echo "---------------------------"
time directms1quant -S1 *_UPS_4_0?.features_proteins_full.tsv -S2 *_UPS_2_0?.features_proteins_full.tsv -min_samples 3 \
&& echo "DirectMS1quant run successful."