Skip to content

Commit

Permalink
Fixing transform
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjvincent committed Jun 6, 2018
1 parent a7d69a5 commit 70b6f7f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions g2gtools/fasta_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def __str__(self):



#@profile
def process_piece(fasta_transform_params):
"""
"""
Expand Down Expand Up @@ -220,12 +221,12 @@ def process_piece(fasta_transform_params):
found = True
LOG.debug('')
LOG.debug("LINE: {}".format(line))
new_sequence_value = new_sequence.getvalue()
#new_sequence_value = new_sequence.getvalue()

if len(new_sequence_value) > 50:
LOG.debug('current={}...{}'.format(new_sequence_value[:25], new_sequence_value[-25:]))
else:
LOG.debug('current={}'.format(new_sequence_value))
#if len(new_sequence_value) > 50:
# LOG.debug('current={}...{}'.format(new_sequence_value[:25], new_sequence_value[-25:]))
#else:
# LOG.debug('current={}'.format(new_sequence_value))

# chromosome, position, shared_bases, deleted_bases, inserted_bases, fragment_size

Expand Down Expand Up @@ -700,4 +701,3 @@ def process(filename_fasta, filename_vci, regions, filename_output=None, bgzip=F
#g2g_utils.delete_dir(temp_directory)
LOG.info("Patch complete: {0}".format(g2g_utils.format_time(start, time.time())))


0 comments on commit 70b6f7f

Please sign in to comment.