예제 #1
0
        /// <summary>
        ///     Validate Muscle multiple sequence alignment with different profiler and
        ///     profile score function name.
        /// </summary>
        /// <param name="nodeName">xml node name.</param>
        /// <param name="expectedScoreNode">Expected score node</param>
        /// <param name="profileName">SW/NW profiler</param>
        /// <param name="profileScoreFunctionName">Profile score function name</param>
        /// <param name="isWeightedProduct">True if it of the WeightedProduct type else false.</param>
        private void ValidatePamsamAlignWithProfileScoreFunctionName(string nodeName,
                                                                     string expectedScoreNode,
                                                                     ProfileAlignerNames profileName,
                                                                     ProfileScoreFunctionNames profileScoreFunctionName,
                                                                     bool isWeightedProduct)
        {
            ValidatePamsamAlign(nodeName, expectedScoreNode,
                                UpdateDistanceMethodsTypes.Average,
                                DistanceFunctionTypes.EuclideanDistance, profileName,
                                profileScoreFunctionName, isWeightedProduct);

            ApplicationLog.WriteLine(String.Format(null,
                                                   @"PamsamBvtTest:: Pamsam alignment validation completed successfully with different profile score function name {0}",
                                                   profileScoreFunctionName.ToString()));
        }
예제 #2
0
        /// <summary>
        ///     Validate Muscle multiple sequence alignment with different
        ///     profiler and profile score function name.
        /// </summary>
        /// <param name="nodeName">xml node name.</param>
        /// <param name="moleculeType">molecule type of sequences</param>
        /// <param name="expectedScoreNode">expected score xml node</param>
        /// <param name="profileName">SW/NW profiler</param>
        /// <param name="profileScoreFunctionName">Profile score function name</param>
        private void ValidatePamsamAlignWithProfileScoreFunctionName(string nodeName,
                                                                     MoleculeType moleculeType, string expectedScoreNode,
                                                                     ProfileAlignerNames profileName,
                                                                     ProfileScoreFunctionNames profileScoreFunctionName)
        {
            ValidatePamsamAlign(nodeName, moleculeType, expectedScoreNode,
                                UpdateDistanceMethodsTypes.Average,
                                DistanceFunctionTypes.EuclideanDistance, profileName,
                                profileScoreFunctionName, kmerLength,
                                false, false);

            ApplicationLog.WriteLine(String.Format(null,
                                                   @"PamsamP1Test:: Pamsam alignment validation completed successfully for {0} 
                moleculetype with different profile score function name {1}",
                                                   moleculeType.ToString(), profileScoreFunctionName.ToString()));
        }