public String getRemoteBlastInfo() throws Exception {
		OutputStreamWriter writer = null;
		BufferedReader reader = null;
		try {
			URLConnection serviceConnection = setQBlastServiceProperties(serviceUrl.openConnection());
			writer = new OutputStreamWriter(serviceConnection.getOutputStream());
			writer.write("CMD=Info");
			writer.flush();
			reader = new BufferedReader(new InputStreamReader(serviceConnection.getInputStream()));
			StringBuilder sb = new StringBuilder();
			String line;
			while ((line = reader.readLine()) != null) {
				sb.append(line);
				sb.append(System.getProperty("line.separator"));
			}
			return sb.toString();
		} catch (IOException e) {
			throw new Exception("Impossible to get info from QBlast service at this time. Cause: " + e.getMessage(), e);
		} finally {
			IOUtils.close(reader);
			IOUtils.close(writer);
		}
	}
public String getRemoteBlastInfo ( ) throws Exception { OutputStreamWriter writer = null ; BufferedReader reader = null ; try { URLConnection serviceConnection = setQBlastServiceProperties ( serviceUrl . openConnection ( ) ) ; writer = new OutputStreamWriter ( serviceConnection . getOutputStream ( ) ) ; writer . write ( "CMD=Info" ) ; writer . flush ( ) ; reader = new BufferedReader ( new InputStreamReader ( serviceConnection . getInputStream ( ) ) ) ; StringBuilder sb = new StringBuilder ( ) ; String line ; while ( ( line = reader . readLine ( ) ) != null ) { sb . append ( line ) ; sb . append ( System . getProperty ( "line.separator" ) ) ; } return sb . toString ( ) ; } catch ( IOException e ) { throw new Exception ( "Impossible to get info from QBlast service at this time. Cause: " + e . getMessage ( ) , e ) ; } finally { IOUtils . close ( reader ) ; IOUtils . close ( writer ) ; } }
A simple method to check the availability of the QBlast service. Sends {@code Info} command to QBlast

@return QBlast info output concatenated to String
@throws Exception if unable to connect to the NCBI QBlast service