/** * Initialize the FASTQ module using a pipe. * @post fastq_nextSequence(), fastq_readAllSequences() can be called. */ void fastq_initFromPipe (char* command) { lsFastq = ls_createFromPipe (command); ls_bufferSet (lsFastq,1); }
/** * Initialize the blastParser module from pipe. * @param[in] command Command to be executed */ void blastParser_initFromPipe (char* command) { ls = ls_createFromPipe (command); ls_bufferSet (ls,1); }
/** * Initialize the FASTQ module using a file name. * @note Use "-" to denote stdin. * @post fastq_nextSequence(), fastq_readAllSequences() can be called. */ void fastq_initFromFile (char* fileName) { lsFastq = ls_createFromFile (fileName); ls_bufferSet (lsFastq,1); }
/** * Initialize the blastParser module from file. * @param[in] fileName File name, use "-" to denote stdin */ void blastParser_initFromFile (char* fileName) { ls = ls_createFromFile (fileName); ls_bufferSet (ls,1); }