Looking for a simple tool to match 6-mers (such as TGATCA) to motifs
1
0
Entering edit mode
19 months ago
changxu.fan ▴ 70

Dear community,

I'm reaching out to find a simple tool that can do something like this: If I input TGATCA, it tells me it's the AP1 motif.

Can't believe I haven't found such a tool!

Best, Changxu

motif. • 460 views
ADD COMMENT
0
Entering edit mode

If I input TGATCA, it tells me it's the AP1 motif.

And where does this information come from i.e. TGATCA represents AP1 motif?

Can't believe I haven't found such a tool!

Is the said tool supposed to look this information up?

ADD REPLY
2
Entering edit mode
19 months ago

If I input TGATCA, it tells me it's the AP1 motif.

the following awk script works as described above.

awk '($0=="TGATCA"){print "AP1"}' input.txt

or

grep -E '^TGATCA$' input.txt > /dev/null && echo "AP1"
ADD COMMENT

Login before adding your answer.

Traffic: 1940 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