Thread: Utilizing another compiled program for a task.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    5

    Question Utilizing another compiled program for a task.

    I'm trying to write a program that takes information from a text file and uses it to provide arguments to another executable file.

    I want to use a BLAST executable to compare several DNA sequence files with each other and this would be much more convenient to accomplish if I could put the executable's mode operators (the dashed things -mode etc.) and the filenames into a text file and write a program that just feeds all the different permutations of comparisons into the BLAST EXE.

    I haven't yet determined how the blast program returns its outputs or how to use it properly, so i'm not even sure how to handle what it will send back, but i'm sure its possible, as web servers interpret the results to post on screen when you run blasts on the science websites that host these services.

    At the moment I just want to write the skeleton of the C code that will read the text file and set itself up to execute the permutations of comparisons.

    This is not a homework assignment, I'm working in a lab for the summer for a summer internship, and I will have to use this process several times with different parameters to compare many different DNA sequences with each other to determine if there are any signifcant similarities between them. (comparing each with all the others once).

    Can anybody give me advice on this?

    I forgot to mention this, but either the file will also include the name for a text output file or I will construct names for seperate outputs for each comparison, if these are even possible to create with this software.
    Last edited by kotoroshinoto; 06-03-2008 at 08:41 AM. Reason: forgot something, don't want to double post.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can someome help me with a program please?
    By WinterInChicago in forum C++ Programming
    Replies: 3
    Last Post: 09-21-2006, 10:58 PM
  2. Need help with my program...
    By Noah in forum C Programming
    Replies: 2
    Last Post: 03-11-2006, 07:49 PM
  3. I need some help with my program please.
    By agentxx04 in forum C Programming
    Replies: 9
    Last Post: 09-26-2004, 07:51 AM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM