Skip to content

Commit

Permalink
Fixed sample mapping output generator for argos 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
allanbolipata committed Aug 18, 2021
1 parent fefad4a commit 01bd2cb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions runner/operator/argos_operator/v1_1_3/argos_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def get_jobs(self):
files.append(filepath)
for p in job['pair'][0]['bam']:
filepath = FileProcessor.parse_path_from_uri(p['location'])
file_str = "\t".join([normal_sample_name, filepath]) + "\n"
file_str = "\t".join([tumor_sample_name, filepath]) + "\n"
if file_str not in check_for_duplicates:
check_for_duplicates.append(file_str)
sample_mapping += file_str
Expand All @@ -140,8 +140,6 @@ def get_jobs(self):
check_for_duplicates.append(file_str)
sample_mapping += file_str
if filepath not in files:
sample_mapping += "\t".join(
[normal_sample_name, filepath]) + "\n"
files.append(filepath)
for p in job['pair'][1]['zR1']:
filepath = FileProcessor.parse_path_from_uri(p['location'])
Expand Down

0 comments on commit 01bd2cb

Please sign in to comment.