Skip to content

Commit

Permalink
Merge branch 'hotfix'
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan_Abo committed Mar 14, 2015
2 parents d7fa4ce + 141ff4a commit 79518be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v0.0.2
9 changes: 6 additions & 3 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Expand Down

0 comments on commit 79518be

Please sign in to comment.