From 76798b19bf806fa207b3f5570016fa42218c3436 Mon Sep 17 00:00:00 2001 From: Ryan_Abo Date: Fri, 13 Mar 2015 22:15:50 -0400 Subject: [PATCH 1/2] Bug fixes for Illumina header name as well as undeclared variable. --- utils.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/utils.py b/utils.py index ad3c887..b606440 100644 --- a/utils.py +++ b/utils.py @@ -373,6 +373,7 @@ def get_fastq_reads(fn, sv_reads) : qname_split = header.lstrip("@").split("_") indel_only = qname_split[-1] qname = "_".join(qname_split[0:len(qname_split)-1]) + add = False if qname in sv_reads : oseq, sc_seqs, clip_coords, indel_meta = sv_reads[qname] cleaned_seq = seq @@ -921,23 +922,25 @@ def __iter__(self) : def next(self) : header, seq, qual_header, qual = [self._f.next() for _ in range(4)] header = header.strip() - inst,lane,tile,x,y_end = header.split(':') + # inst,lane,tile,x,y_end = header.split(':') seq = seq.strip() qual = qual.strip() + ''' bc = None y = y_end if y.find('/') > -1 : y, end = y.split('/') if y.find('#') > -1 : y, bc = y.split('#') - header_dict = {'inst':inst, + header_dict = {'inst':inst, 'lane':int(lane), 'tile':int(tile), 'x':int(x), 'y':int(y), 'end':end, 'bc': bc} - return (header,seq,qual) + ''' + return (header, seq, qual) # End FastqFile class #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ From 141ff4ad14641a72d112622afada6f4aec2396fd Mon Sep 17 00:00:00 2001 From: Ryan_Abo Date: Fri, 13 Mar 2015 23:36:05 -0400 Subject: [PATCH 2/2] Bumped version to 0.0.2 --- VERSION | 1 + 1 file changed, 1 insertion(+) create mode 100644 VERSION diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..a3dce6c --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +v0.0.2