Is it possible to query UCSC using mysql to ask what the resulting amplicon would be, sequence, seq length, chr start & stop positions, GC content etc. Similar to what you get when you manually use the In-Silico PCR function on the website.
Ideally I want to supply a file like this (these are dummy sequences)
tcctaacactggccggctcaatggag F1 accaaccagataacaggaag R1 tccacctctgatctgcaaagtgg F2 gctgactttaaaatctgacacca R2
And get an output with all the data.
Thanks
1 answer
no, mysql is 'just' a database engine and there is no way(*) to execute a system call from mysql.
Run an EPCR using a standalone program ( like NCBI EPCR ftp://ftp.ncbi.nlm.nih.gov/pub/schuler/e-PCR/ ) and download the amplicon using, e.g. a DAS server How to get the sequence of a genomic region from UCSC?
(*): well , it could be possible with a mysql UDF but the ucsc wouldn't allow it.
Log in to answer this question.
I was able to something similar using gfPcr utility available downloaded from UCSC website.
The output files contains this -