Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 2daafc0

Browse files
committed
polish details for submission of LOLAHema samples
1 parent 969c505 commit 2daafc0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bedmaker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@ def main():
124124
seek_key="chrom_sizes")
125125
print("Determined path to chrom.sizes asset: {}".format(chrom_sizes))
126126
# define a target for temporary bw files
127-
temp_target = os.path.join(sample_folder, file_id + ".bw")
127+
temp_target = os.path.join(bed_parent, file_id + ".bw")
128128
pm.clean_add(temp_target)
129129
cmd1 = wig_template.format(input=input_file, intermediate_bw=temp_target, chrom_sizes=chrom_sizes, width=width)
130130
cmd2 = bigWig_template.format(input=temp_target, output=temp_bed_path, width=width)
131131
cmd = [cmd1, cmd2]
132132
elif args.input_type == "bigBed":
133133
cmd = bigBed_template.format(input=input_file, output=temp_bed_path)
134134
elif args.input_type == "bed":
135-
cmd = bed_template.format(input=args.input_file, output=temp_bed_path)
135+
cmd = bed_template.format(input=args.input_file, output=args.output_file)
136136
else:
137137
raise NotImplementedError("'{}' format is not supported".format(args.input_type))
138138

pipeline_interface.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ command_template: >
99
--narrowpeak {sample.narrowpeak}
1010
--input-type {sample.format}
1111
--genome {sample.genome}
12-
--sample-name: {sample.sample_name}
12+
--sample-name {sample.sample_name}
1313
{% if sample.rfg_config is defined %} --rfg-config {sample.rfg_config} {% endif %}
1414
compute:
1515
size_dependent_variables: resources-sample.tsv

0 commit comments

Comments
 (0)