Entering edit mode
7.1 years ago
madiha_shabbir46
▴
10
Hi there,
I want to execute blat (to search a pattern in my fasta file) using its command in a function in my c++ project. i am using netbeans compiler.
Can anybody help me out in this regard?
How can we use pre-compiled executable tool in our own code to use it in run time.
Thanking in anticipation,
Madiha
Thank you kloetz, its working! one more question if you know about blat..as blat takes file as input and give output in another file..is there any command of blat that takes string as inputs and string as output?
Sorry, I don't know blat. ☺
still thank you for your help :)
What do you mean by that? In a way blat is taking strings (DNA/Protein sequence) in a file and providing a formatted table (
psl
) as default output. It is not meant a general string search program, if that is what you are asking.yes it takes string of DNA etc in file, what i am asking is that is there any way of providing database and query in or at least query in the form of string instead of file and take output in string or any other data structure?..because i have to use it in my code multiple times for multiple genes in a loop, so i am trying to avoid file reading and writing again and again.