X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fanalysis%2FDnaAlignmentGenerator.java;h=69e5c2314d824fc9c945eac287b40d05f86bd776;hb=37de9310bec3501cbc6381e0c3dcb282fcaad812;hp=1b8964fb4bfd5d4eb4fe4dc5f18d3fc8a4dce21a;hpb=be32c14cd8e48fe0a207cd7030cb9cd46f894678;p=jalview.git diff --git a/test/jalview/analysis/DnaAlignmentGenerator.java b/test/jalview/analysis/DnaAlignmentGenerator.java index 1b8964f..69e5c23 100644 --- a/test/jalview/analysis/DnaAlignmentGenerator.java +++ b/test/jalview/analysis/DnaAlignmentGenerator.java @@ -1,3 +1,23 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.analysis; import jalview.datamodel.Alignment; @@ -34,11 +54,10 @@ public class DnaAlignmentGenerator private static final char ZERO = '0'; - private static final char[] BASES = new char[] - { 'G', 'T', 'C', 'A' }; + private static final char[] BASES = new char[] { 'G', 'T', 'C', 'A' }; private Random random; - + /** * Outputs a DNA 'alignment' where each position is a random choice from * 'GTCA-'.