Skip to content

Commit

Permalink
Merge pull request #90 from sanger-bentley-group/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
blue-moon22 authored Apr 24, 2023
2 parents 4ab2c27 + 8ae19cf commit d98cb52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def create_output_contents(final_dict):
def write_pandas_output(content, output_filename):
"""Write a pandas dataframe to a tab-delimited text file"""
try:
content.to_csv(output_filename, sep='\t', header=True, index=False, line_terminator='\n')
content.to_csv(output_filename, sep='\t', header=True, index=False)
except IOError:
print('Cannot open filename starting "{}"'.format(output_filename))
raise
2 changes: 1 addition & 1 deletion modules/res_alignments.nf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ process split_target_RES_seq_from_sam_file {
file("*_*_${pair_id}*.bai")

"""
set +e
samtools view -h ${bam_file} > \$(basename ${bam_file} .bam).sam
get_targets_from_samfile.py -s \$(basename ${bam_file} .bam).sam -t ${targets_file} -i ${pair_id} -o CHECK_
for check_sam_file in CHECK_*_${pair_id}*.sam; do
Expand Down

0 comments on commit d98cb52

Please sign in to comment.