Exemplo n.º 1
0
        /// <summary>
        /// constructor
        /// </summary>
        public Consequences(VariantEffect variantEffect)
        {
            _variantEffect = variantEffect;
            _consequences  = new List <ConsequenceType>();

            _consequenceDescriptors = new Dictionary <ConsequenceType, string>
            {
                [ConsequenceType.CodingSequenceVariant]          = CodingSequenceVariantKey,
                [ConsequenceType.CopyNumberIncrease]             = CopyNumberIncreaseKey,
                [ConsequenceType.CopyNumberDecrease]             = CopyNumberDecreaseKey,
                [ConsequenceType.CopyNumberChange]               = CopyNumberChangeKey,
                [ConsequenceType.DownstreamGeneVariant]          = DownstreamGeneVariantKey,
                [ConsequenceType.FeatureElongation]              = FeatureElongationKey,
                [ConsequenceType.FeatureTruncation]              = FeatureTruncationKey,
                [ConsequenceType.FivePrimeUtrVariant]            = FivePrimeUtrVariantKey,
                [ConsequenceType.FrameshiftVariant]              = FrameshiftVariantKey,
                [ConsequenceType.IncompleteTerminalCodonVariant] = IncompleteTerminalCodonVariantKey,
                [ConsequenceType.InframeDeletion]                        = InframeDeletionKey,
                [ConsequenceType.InframeInsertion]                       = InframeInsertionKey,
                [ConsequenceType.StartLost]                              = StartLostKey,
                [ConsequenceType.IntronVariant]                          = IntronVariantKey,
                [ConsequenceType.MissenseVariant]                        = MissenseVariantKey,
                [ConsequenceType.MatureMirnaVariant]                     = MatureMirnaVariantKey,
                [ConsequenceType.NonCodingTranscriptExonVariant]         = NonCodingExonVariantKey,
                [ConsequenceType.NonCodingTranscriptVariant]             = NonCodingTranscriptVariantKey,
                [ConsequenceType.NonsenseMediatedDecayTranscriptVariant] = NonsenseMediatedDecayTranscriptVariantKey,
                [ConsequenceType.ProteinAlteringVariant]                 = ProteinAlteringVariantKey,
                [ConsequenceType.RegulatoryRegionAblation]               = RegulatoryRegionAblationVariantKey,
                [ConsequenceType.RegulatoryRegionAmplification]          = RegulatoryRegionAmplificationVariantKey,
                [ConsequenceType.RegulatoryRegionVariant]                = RegulatoryRegionVariantKey,
                [ConsequenceType.SpliceAcceptorVariant]                  = SpliceAcceptorVariantKey,
                [ConsequenceType.SpliceDonorVariant]                     = SpliceDonorVariantKey,
                [ConsequenceType.SpliceRegionVariant]                    = SpliceRegionVariantKey,
                [ConsequenceType.StopGained]                             = StopGainedKey,
                [ConsequenceType.StopLost]                = StopLostKey,
                [ConsequenceType.StopRetainedVariant]     = StopRetainedVariantKey,
                [ConsequenceType.SynonymousVariant]       = SynonymousVariantKey,
                [ConsequenceType.ThreePrimeUtrVariant]    = ThreePrimeUtrVariantKey,
                [ConsequenceType.TranscriptAmplification] = TranscriptAmplificationKey,
                [ConsequenceType.TranscriptTruncation]    = TranscriptTruncationKey,
                [ConsequenceType.TranscriptAblation]      = TranscriptAblatioinKey,
                [ConsequenceType.Unknown]                  = UnknownKey,
                [ConsequenceType.UpstreamGeneVariant]      = UpstreamGeneVariantKey,
                [ConsequenceType.TranscriptVariant]        = TranscriptVariantKey,
                [ConsequenceType.GeneFusion]               = GeneFusionKey,
                [ConsequenceType.UnidirectionalGeneFusion] = UnidirectionalGeneFusionKey,
                [ConsequenceType.BidirectionalGeneFusion]  = BidirectionalGeneFusionKey
            };
        }
Exemplo n.º 2
0
 public Consequences(List <ConsequenceType> consequences, VariantEffect variantEffect) : this(variantEffect)
 {
     _consequences.AddRange(consequences);
 }