Example #1
0
        /// <summary>
        /// Instantiates new instance of WmmSequenceScanImpl
        /// </summary>
        public WmmSequenceScanImpl(WeightMatrixParameters parameters, string sequence, int scanLength)
        {
            if (parameters == null)
            {
                throw new ArgumentNullException("parameters");
            }
            if (String.IsNullOrWhiteSpace(sequence))
            {
                throw new ArgumentNullException("sequence");
            }

            this.parameters = parameters;
            this.scanLength = scanLength;
            this.sequence   = sequence;
        }
Example #2
0
        public MemeImpl(WeightMatrixParameters parameters, string[] sequences, int scanLength)
        {
            if (parameters == null)
            {
                throw new ArgumentNullException("parameters");
            }
            if (sequences == null)
            {
                throw new ArgumentNullException("sequences");
            }

            this.parameters = parameters;
            this.sequences  = sequences;
            this.scanLength = scanLength;
        }