Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed Illumina tag lengths to be 50nt

  • Loading branch information...
commit f42848ed3dc4cb300d692cbb7e17bc59899c4603 1 parent c2a2f21
@apmasell apmasell authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 pandaseq.h
  2. +2 −2 parser.c
View
4 pandaseq.h
@@ -140,7 +140,7 @@ typedef struct {
*/
double p;
} panda_result;
-
+#define PANDA_TAG_LEN 50
/**
* Illumina sequence information from the FASTQ header
*/
@@ -152,7 +152,7 @@ typedef struct {
int tile;
int x;
int y;
- char tag[10];
+ char tag[PANDA_TAG_LEN];
} panda_seq_identifier;
/**
* Write the Illumina header to a printf-like function
View
4 parser.c
@@ -160,7 +160,7 @@ int panda_seqid_parse(panda_seq_identifier *id, char *input)
dest = id->tag;
*dest = '\0';
PARSE_CHUNK {
- if (dest >= &id->tag[10])
+ if (dest >= &id->tag[PANDA_TAG_LEN])
return 0;
*dest++ = (*input);
*dest = '\0';
@@ -214,7 +214,7 @@ int panda_seqid_parse(panda_seq_identifier *id, char *input)
dest = id->tag;
*dest = '\0';
PARSE_CHUNK {
- if (dest >= &id->tag[10])
+ if (dest >= &id->tag[PANDA_TAG_LEN])
return 0;
*dest++ = (*input);
*dest = '\0';
Please sign in to comment.
Something went wrong with that request. Please try again.