@@ -1420,36 +1420,36 @@ implemented by the SimpleRichLocation class.
14201420
14211421This example describes the GenBank-style location string "56":
14221422
1423- <java > Position pos = new SimplePosition(56); RichLocation loc = new
1424- SimpleRichLocation(pos,0); // the 0 is an arbitrary value for the rank
1425- of this location </java >
1423+ <java > Position pos = new SimplePosition(56); // the 0 is an arbitrary
1424+ value for the rank of this location RichLocation loc = new
1425+ SimpleRichLocation(pos,0); </java >
14261426
14271427This example describes the GenBank-style location string
14281428"(23^34)..57\> ":
14291429
1430- <java > Position min = new SimplePosition(false,false,23,34,"^"); // two
1431- falses = not fuzzy at all Position max = new
1432- SimplePosition(false,true,57); // false = non-fuzzy start, true = fuzzy
1433- end RichLocation loc = new SimpleRichLocation(min,max,0); // the 0 is an
1434- arbitrary value for the rank of this location </java >
1430+ <java > // two falses = not fuzzy at all Position min = new
1431+ SimplePosition(false,false,23,34,"^"); // false = non- fuzzy start, true
1432+ = fuzzy end Position max = new SimplePosition(false,true,57); // the 0
1433+ is an arbitrary value for the rank of this location RichLocation loc =
1434+ new SimpleRichLocation(min,max,0); </java >
14351435
14361436This example describes the GenBank-style location string
14371437"complement((23^34)..57\> )":
14381438
1439- <java > Position min = new SimplePosition(false,false,23,34,"^"); // two
1440- falses = not fuzzy at all Position max = new
1441- SimplePosition(false,true,57); // false = non-fuzzy start, true = fuzzy
1442- end RichLocation loc = new
1439+ <java > // two falses = not fuzzy at all Position min = new
1440+ SimplePosition(false,false,23,34,"^"); // false = non- fuzzy start, true
1441+ = fuzzy end Position max = new SimplePosition(false,true,57);
1442+ RichLocation loc = new
14431443SimpleRichLocation(min,max,0,Strand.NEGATIVE\_ STRAND); </java >
14441444
14451445This example describes the GenBank-style location string
14461446"A12345.3: complement ((23^34)..57\> )":
14471447
1448- <java > CrossRef cr = new SimpleCrossRef("GenBank"," A12345",3); //
1449- version 3 of accession A12345 in the GenBank database Position min = new
1450- SimplePosition(false,false,23,34,"^"); // two falses = not fuzzy at all
1451- Position max = new SimplePosition(false, true,57); // false = non-fuzzy
1452- start, true = fuzzy end RichLocation loc = new
1448+ <java > // version 3 of accession A12345 in the GenBank database CrossRef
1449+ cr = new SimpleCrossRef("GenBank"," A12345",3); // two falses = not fuzzy
1450+ at all Position min = new SimplePosition(false,false,23,34,"^"); //
1451+ false = non-fuzzy start, true = fuzzy end Position max = new
1452+ SimplePosition(false, true,57); RichLocation loc = new
14531453SimpleRichLocation(min,max,Strand.NEGATIVE\_ STRAND,cr); </java >
14541454
14551455If you require locations that cover more than one range, you must use
0 commit comments