Skip to main content
. 2022 Jul 15;24(7):978. doi: 10.3390/e24070978
Algorithm 2SNR-SE
Input: DNA sequence s
Output: One sided spectrum S[k]
  •  1:

    snrref←−∞

  •  2:

    foreachkin[0,⌊N2⌋]do

  •  3:

       w←SpectralEnvelope (s, k)

  •  4:

       Mref← map whose image are the components of w

  •  5:

       Compute S[k] using Equation (11)

  •  6:

       snr←SNR(S[k])

  •  7:

       if snrref<snr then

  •  8:

           snrref←snr

  •  9:

           M←Mref

  • 10:

       end if

  • 11:

    end for

  • 12:

    Compute S[k] using (11) and M

  • 13:

    return S[k]