Skip to content

Instantly share code, notes, and snippets.

@drio
Created June 3, 2010 18:50
Show Gist options
  • Save drio/424295 to your computer and use it in GitHub Desktop.
Save drio/424295 to your computer and use it in GitHub Desktop.
141 /*
142 {
143 int t;
144 char foo[52] = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
145 char bar[52] = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
146 char foo2[52]= "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
147 char bar2[52]= "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
148 for(t=0;t<len;t++) { foo[t] = "01234"[seq[0][t]]; }
149 for(t=0;t<len;t++) { bar[t] = "01234"[seq[1][t]]; }
150 fprintf(stderr, " --> %s (%d) : [%s -- %s] \n", p->name , len, foo, bar);
151 for(t=0;t<p->len;t++) { foo2[t] = "01234"[p->seq[t]]; }
152 for(t=0;t<p->len;t++) { bar2[t] = "01234"[p->rseq[t]]; }
153 fprintf(stderr, "p--> %s (%d) : [%s -- %s] \n", p->name , p->len, foo2, bar2);
154 }
155 */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment