// Copyright (C) 2010 Christian M Zmasek
// Copyright (C) 2010 Sanford-Burnham Medical Research Institute
// All rights reserved
// Copyright (C) 2010 Christian M Zmasek
// Copyright (C) 2010 Sanford-Burnham Medical Research Institute
// All rights reserved
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
private static final Pattern NAME_SEQ_PATTERN = Pattern.compile( "(\\S+)\\s+(\\S+)\\s*" );
private static final Pattern INDENTED_SEQ_PATTERN = Pattern.compile( "\\s+(\\S+)\\s*" );
private static final Pattern NON_INDENTED_SEQ_PATTERN = Pattern.compile( "(\\S+).*" );
private static final Pattern NAME_SEQ_PATTERN = Pattern.compile( "(\\S+)\\s+(\\S+)\\s*" );
private static final Pattern INDENTED_SEQ_PATTERN = Pattern.compile( "\\s+(\\S+)\\s*" );
private static final Pattern NON_INDENTED_SEQ_PATTERN = Pattern.compile( "(\\S+).*" );
private static final Pattern MUSCLE_REGEX = Pattern.compile( "^MUSCLE\\s\\(" );
private static final Pattern CLUSTAL_REGEX = Pattern.compile( "^PROBCONS\\s" );
private static final Pattern ANYTHING_REGEX = Pattern.compile( "[\\d\\s]+" );
private static final Pattern MUSCLE_REGEX = Pattern.compile( "^MUSCLE\\s\\(" );
private static final Pattern CLUSTAL_REGEX = Pattern.compile( "^PROBCONS\\s" );
private static final Pattern ANYTHING_REGEX = Pattern.compile( "[\\d\\s]+" );