+ /**
+ * Only use if you know what you are doing!
+ *
+ */
+ public BasicSequence( final String identifier, final String mol_sequence, final TYPE type ) {
+ if ( ForesterUtil.isEmpty( identifier ) ) {
+ throw new IllegalArgumentException( "identifier of sequence cannot be empty" );
+ }
+ if ( ForesterUtil.isEmpty( mol_sequence ) ) {
+ throw new IllegalArgumentException( "molecular sequence cannot be empty" );
+ }