all posible sequences from consensus
1
0
Entering edit mode
4.5 years ago
hgarza • 0

Hi, this is my first post,

i have a consensus sequence: YYRNYY, where: Y = (C/T); R = (A/G); N = (A/C/G/T)

i want to obtain all possible combinations of nucleotides from the consensus sequence and add each one to a list and print it.

thanks

sequence python consensus TSS DNA • 1.5k views
ADD COMMENT
2
Entering edit mode
4.5 years ago

In C:

./biostars282490 YYRNYY

CCAACC
CCAACT
CCAATC
CCAATT
CCACCC
CCACCT
CCACTC
CCACTT
CCAGCC
CCAGCT
CCAGTC
CCAGTT
CCATCC
CCATCT
CCATTC
CCATTT
CCGACC
CCGACT
CCGATC
CCGATT
CCGCCC
CCGCCT
CCGCTC
CCGCTT
CCGGCC
CCGGCT
CCGGTC
CCGGTT
CCGTCC
CCGTCT
CCGTTC
CCGTTT
CTAACC
CTAACT
CTAATC
CTAATT
CTACCC
CTACCT
CTACTC
CTACTT
CTAGCC
CTAGCT
CTAGTC
CTAGTT
CTATCC
CTATCT
CTATTC
CTATTT
CTGACC
CTGACT
CTGATC
CTGATT
CTGCCC
CTGCCT
CTGCTC
CTGCTT
CTGGCC
CTGGCT
CTGGTC
CTGGTT
CTGTCC
CTGTCT
CTGTTC
CTGTTT
TCAACC
TCAACT
TCAATC
TCAATT
TCACCC
TCACCT
TCACTC
TCACTT
TCAGCC
TCAGCT
TCAGTC
TCAGTT
TCATCC
TCATCT
TCATTC
TCATTT
TCGACC
TCGACT
TCGATC
TCGATT
TCGCCC
TCGCCT
TCGCTC
TCGCTT
TCGGCC
TCGGCT
TCGGTC
TCGGTT
TCGTCC
TCGTCT
TCGTTC
TCGTTT
TTAACC
TTAACT
TTAATC
TTAATT
TTACCC
TTACCT
TTACTC
TTACTT
TTAGCC
TTAGCT
TTAGTC
TTAGTT
TTATCC
TTATCT
TTATTC
TTATTT
TTGACC
TTGACT
TTGATC
TTGATT
TTGCCC
TTGCCT
TTGCTC
TTGCTT
TTGGCC
TTGGCT
TTGGTC
TTGGTT
TTGTCC
TTGTCT
TTGTTC
TTGTTT
ADD COMMENT

Login before adding your answer.

Traffic: 2253 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6