ensure we never check in autogenerated documentation or build artefacts
[jabaws.git] / runner / compbio / runner / _impl / Tmhmm2.java
1 /* Copyright (c) 2011 Peter Troshin\r
2  *  \r
3  *  JAva Bioinformatics Analysis Web Services (JABAWS) @version: 2.0     \r
4  * \r
5  *  This library is free software; you can redistribute it and/or modify it under the terms of the\r
6  *  Apache License version 2 as published by the Apache Software Foundation\r
7  * \r
8  *  This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without\r
9  *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache \r
10  *  License for more details.\r
11  * \r
12  *  A copy of the license is in apache_license.txt. It is also available here:\r
13  * @see: http://www.apache.org/licenses/LICENSE-2.0.txt\r
14  * \r
15  * Any republication or derived work distributed in source code form\r
16  * must include this copyright and license notice.\r
17  */\r
18 package compbio.runner._impl;\r
19 \r
20 import java.util.List;\r
21 \r
22 import compbio.runner._SkeletalCommandBuilder;\r
23 \r
24 /*\r
25  @see file:///(/homes/www-refine/SSPF_01/) Z:/bin/Brunak/TMHMM2/TMHMM2.0c/TMHMM2.0.html\r
26  could have used decodeanhmm directly \r
27  for more options @see ./decodeanhmm -h\r
28  e.g. decodeanhmm -f <path>/TMHMM2.0.options -modelfile <path>/TMHMM2.0.model\r
29  */\r
30 class Tmhmm2 extends _SkeletalCommandBuilder {\r
31 \r
32         /*\r
33          * This is a standard tmhmm binary, but slightly modified the only\r
34          * difference is that it will always write results in $workDirectory/TMHMM\r
35          */\r
36         private static final String command = "/homes/www-refine/bin/Brunak/TMHMM2/TMHMM2.0c/bin/tmhmm_samedir";\r
37         String input;\r
38         String output;\r
39         List<String> params;\r
40 \r
41         private final String workDirectory;\r
42 \r
43         public Tmhmm2(String workDirectory) {\r
44                 this.workDirectory = workDirectory;\r
45         }\r
46 \r
47         public static String getTestCommand() {\r
48                 return command;\r
49         }\r
50 \r
51         public String getCommandName() {\r
52                 return "tmhmm";\r
53         }\r
54 \r
55         @Override\r
56         public List<String> getCreatedFiles() {\r
57                 // TODO Auto-generated method stub\r
58                 return null;\r
59         }\r
60 \r
61         @Override\r
62         public String getInput() {\r
63                 // TODO Auto-generated method stub\r
64                 return null;\r
65         }\r
66 \r
67 }\r