/** * @param stopCodonSequence the stopCodonSequence to set */ public void addStopCodonSequence(AccessionID accession, int begin, int end) { this.stopCodonSequence = new StopCodonSequence(this, begin, end); stopCodonSequence.setAccession(accession); } }
public StopCodonSequence(TranscriptSequence parentGeneSequence, int begin, int end){ this.parentGeneSequence = parentGeneSequence; setBioBegin(begin); setBioEnd(end); }
@Override public int getLength() { return Math.abs(this.getBioEnd() - this.getBioBegin()) + 1; } }
@Override public int getLength() { return Math.abs(this.getBioEnd() - this.getBioBegin()) + 1; } }
/** * @param stopCodonSequence the stopCodonSequence to set */ public void addStopCodonSequence(AccessionID accession, int begin, int end) { this.stopCodonSequence = new StopCodonSequence(this, begin, end); stopCodonSequence.setAccession(accession); } }
public StopCodonSequence(TranscriptSequence parentGeneSequence, int begin, int end){ this.parentGeneSequence = parentGeneSequence; setBioBegin(begin); setBioEnd(end); }