X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FMapping.java;h=01c51518c7438202fda7255ca30c4a4f29eade1c;hb=797df64fa2a0a30773d0f48f5494d4155e5a8be3;hp=d45abcab4ebf88422cf6850c68dcf178d2db034d;hpb=2de8acfae59aced665e4c37ad0f7dcc2ed68818e;p=jalview.git diff --git a/src/jalview/datamodel/Mapping.java b/src/jalview/datamodel/Mapping.java index d45abca..01c5151 100644 --- a/src/jalview/datamodel/Mapping.java +++ b/src/jalview/datamodel/Mapping.java @@ -1,20 +1,19 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1) - * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7) + * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle * - * This program 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 2 - * of the License, or (at your option) any later version. + * This file is part of Jalview. * - * This program 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. + * 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. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * 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 . */ package jalview.datamodel; @@ -52,16 +51,16 @@ public class Mapping * create a new mapping from * * @param to - * the sequence being mapped + * the sequence being mapped * @param exon - * int[] {start,end,start,end} series on associated sequence + * int[] {start,end,start,end} series on associated sequence * @param is - * int[] {start,end,...} ranges on the reference frame being - * mapped to + * int[] {start,end,...} ranges on the reference frame being mapped + * to * @param i - * step size on associated sequence + * step size on associated sequence * @param j - * step size on mapped frame + * step size on mapped frame */ public Mapping(SequenceI to, int[] exon, int[] is, int i, int j) { @@ -96,7 +95,7 @@ public class Mapping /** * @param map - * the map to set + * the map to set */ public void setMap(MapList map) { @@ -149,7 +148,7 @@ public class Mapping * gets boundary in direction of mapping * * @param position - * in mapped reference frame + * in mapped reference frame * @return int{start, end} positions in associated sequence (in direction of * mapped word) */