Mercurial > repos > galaxyp > proteomics_moff
annotate test-data/make_test_data.sh @ 5:a96af68dafb2 draft default tip
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit 0bc6529504998425278b15f5b50f94478faede52"
author | galaxyp |
---|---|
date | Wed, 06 May 2020 14:50:08 -0400 |
parents | 8f0e76ad46ef |
children |
rev | line source |
---|---|
0
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
1 #!/bin/bash |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
2 |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
3 #must be run within tools-galaxyp/tools/moFF/test-data |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
4 |
1
8f0e76ad46ef
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit cfc15ad41da358a04be60d50c7540ac7d75e1b41
galaxyp
parents:
0
diff
changeset
|
5 conda create -y -n tempmoff moff=1.2.1 |
8f0e76ad46ef
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit cfc15ad41da358a04be60d50c7540ac7d75e1b41
galaxyp
parents:
0
diff
changeset
|
6 source activate tempmoff |
0
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
7 |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
8 moff_all.py --inputtsv input/mbr_test1.tabular input/mbr_test2.tabular \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
9 --inputraw input/mbr_test1.mzml input/mbr_test2.mzml \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
10 --tol 10 \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
11 --rt_w 3 \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
12 --rt_p 1 \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
13 --rt_p_match 1.2 \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
14 --peptide_summary 1 \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
15 --output_folder output1 |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
16 |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
17 moff.py --inputtsv input/test.tabular \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
18 --inputraw input/test.mzml \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
19 --tol 10 \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
20 --rt_w 3 \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
21 --rt_p 1 \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
22 --rt_p_match 1.2 \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
23 --peptide_summary 1 \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
24 --output_folder output2 |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
25 mv output2/peptide_summary_intensity_moFF_run.tab output2/moff_test_pepsum.tab |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
26 |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
27 moff_mbr.py \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
28 --inputF input \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
29 --ext tabular \ |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
30 --sample mbr_* |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
31 |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
32 |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
33 # clean up |
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
34 # mbr outputs for moff all |
1
8f0e76ad46ef
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit cfc15ad41da358a04be60d50c7540ac7d75e1b41
galaxyp
parents:
0
diff
changeset
|
35 rm -r output1/* |
0
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
36 |
1
8f0e76ad46ef
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit cfc15ad41da358a04be60d50c7540ac7d75e1b41
galaxyp
parents:
0
diff
changeset
|
37 rm output2/test_moff_result.txt output2/test__moff.log |
0
b4098353ee73
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit bc0fad49e3ba73fa5b5b326e940adf9e11854d94
galaxyp
parents:
diff
changeset
|
38 |
1
8f0e76ad46ef
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit cfc15ad41da358a04be60d50c7540ac7d75e1b41
galaxyp
parents:
0
diff
changeset
|
39 source deactivate tempmoff |
8f0e76ad46ef
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit cfc15ad41da358a04be60d50c7540ac7d75e1b41
galaxyp
parents:
0
diff
changeset
|
40 conda env remove -y -n tempmoff |