Skip to content

Commit 4e1c0d2

Browse files
committed
Major mods in NCBIQBlastAlignmentProperties: it is now responsible for basic sanity checks of these properties instead of NCBIQBlastService. Also added get/set methods for blastp matrix selection and associated gap creation/extension costs.
git-svn-id: http://code.open-bio.org/repos/biojava/biojava-live/trunk@9476 7c6358e6-4a41-0410-a743-a5b2a554c398
1 parent 0d2e23d commit 4e1c0d2

5 files changed

Lines changed: 449 additions & 155 deletions

File tree

biojava3-ws/src/main/java/org/biojava3/ws/alignment/RemotePairwiseAlignmentProperties.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
package org.biojava3.ws.alignment;
2222

2323
import java.io.Serializable;
24-
import java.util.Properties;
2524
import java.util.Set;
2625

2726
/**
@@ -32,7 +31,7 @@
3231
* wrapper methods that actually call either getAlignementOption or setAlignementOption
3332
* with specific values for parameter names and checking values for options.
3433
*
35-
* For an example, go see RemoteQBlastProperties
34+
* For an example, go see NCBIQBlastProperties
3635
*
3736
* @author Sylvain Foisy, Diploide BioIT
3837
* @since Biojava 3

biojava3-ws/src/main/java/org/biojava3/ws/alignment/RemotePairwiseAlignmentService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222

2323
import java.io.InputStream;
2424

25-
//import org.biojavax.bio.seq.RichSequence;
2625
import org.biojava3.core.sequence.template.Sequence;
26+
import org.biojava3.core.sequence.template.Compound;
2727
/**
2828
* This interface specifies minimal information needed to execute a pairwise alignment on a remote service.
2929
*
@@ -41,7 +41,7 @@ public interface RemotePairwiseAlignmentService {
4141
*
4242
* @throws Exception
4343
*/
44-
public String sendAlignmentRequest(Sequence seq, RemotePairwiseAlignmentProperties rpa) throws Exception;
44+
public String sendAlignmentRequest(Sequence<Compound> seq, RemotePairwiseAlignmentProperties rpa) throws Exception;
4545

4646
/**
4747
* Doing the actual analysis on the instantiated service using specified parameters on the string representation

0 commit comments

Comments
 (0)