Skip to content

Instantly share code, notes, and snippets.

@kdm9
Created March 31, 2015 02:25
Show Gist options
  • Save kdm9/7ceaa01464bd8c7517cb to your computer and use it in GitHub Desktop.
Save kdm9/7ceaa01464bd8c7517cb to your computer and use it in GitHub Desktop.
#include <seqan/seq_io.h>
using namespace seqan;
int main(int argc, char **argv)
{
std::string id, seq, qual;
if (argc < 2) {
return 1;
}
SeqFileIn seqFileIn(argv[1]);
while (1) {
readRecord(id, seq, qual, seqFileIn);
std::cout << id << '\t' << seq << '\t' << qual << '\n';
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment