Class RemoteQBlastOutputProperties

    • Constructor Detail

      • RemoteQBlastOutputProperties

        public RemoteQBlastOutputProperties()
        This constructor build the parameters for the default output of the GET command sent to the QBlast service. Here are the default values: FORMAT_TYPE = Text; ALIGNMENT_VIEW = Pairwise DESCRIPTIONS = 100; ALIGNMENTS = 100;
    • Method Detail

      • getOutputFormat

        public String getOutputFormat()
        Simply returns stream output format for the actual RemoteQBlastOutputProperties object
        Returns:
        a String with the value of key FORMAT_TYPE.
      • setOutputFormat

        public void setOutputFormat​(RemoteQBlastOutputFormat rf)
                             throws BioException
        This method is use to set the stream output format to get from the QBlast service
        Parameters:
        rf - :an enum from RemoteQBlastOutputFormat
        Throws:
        BioException - if the enum is neither of RemoteQBlastOutputFormat.TEXT/XML/HTML
      • getAlignmentOutputFormat

        public String getAlignmentOutputFormat()
        Method that returns the alignment output format for this actual RemoteQBlastOutputProperties object
        Returns:
        a String with the value of key ALIGNMENT_VIEW
      • setAlignmentOutputFormat

        public void setAlignmentOutputFormat​(RemoteQBlastOutputFormat rf)
                                      throws BioException
        This method is use to set the alignment output format to get from the QBlast service
        Parameters:
        rf - :an enum from RemoteQBlastOutputFormat
        Throws:
        BioException - if the enum is neither of RemoteQBlastOutputFormat.PAIRWISE/QUERY_ANCHORED/QUERY_ANCHORED_NO_IDENTITIES/FLAT_QUERY_ANCHORED FLAT_QUERY_ANCHORED_NO_IDENTITIES/TABULAR
      • getDescriptionNumber

        public int getDescriptionNumber()
        A method that simply returns the number of descriptions fetched with this RemoteQBlastOutputProperties object.
        Returns:
        an int with the value of the key DESCRIPTIONS
      • setDescriptionNumber

        public void setDescriptionNumber​(int i)
        A method to set the number of descriptions to fetch to the GET command.
        Parameters:
        i - :an int with the required number of descriptions to fetch.
      • getAlignmentNumber

        public int getAlignmentNumber()
        A method that simply returns the number of alignments fetched with this RemoteQBlastOutputProperties object.
        Returns:
        an int with the value of the key ALIGNMENTS.
      • setAlignmentNumber

        public void setAlignmentNumber​(int i)
        A method to set the number of alignments to fetch to the GET command.
        Parameters:
        i - :an int with the required number of alignments to fetch.