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

Commit

Permalink
polish details for submission of LOLAHema samples
Browse files Browse the repository at this point in the history
  • Loading branch information
joseverdezoto committed Jun 29, 2020
1 parent 969c505 commit 2daafc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bedmaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,15 @@ def main():
seek_key="chrom_sizes")
print("Determined path to chrom.sizes asset: {}".format(chrom_sizes))
# define a target for temporary bw files
temp_target = os.path.join(sample_folder, file_id + ".bw")
temp_target = os.path.join(bed_parent, file_id + ".bw")
pm.clean_add(temp_target)
cmd1 = wig_template.format(input=input_file, intermediate_bw=temp_target, chrom_sizes=chrom_sizes, width=width)
cmd2 = bigWig_template.format(input=temp_target, output=temp_bed_path, width=width)
cmd = [cmd1, cmd2]
elif args.input_type == "bigBed":
cmd = bigBed_template.format(input=input_file, output=temp_bed_path)
elif args.input_type == "bed":
cmd = bed_template.format(input=args.input_file, output=temp_bed_path)
cmd = bed_template.format(input=args.input_file, output=args.output_file)
else:
raise NotImplementedError("'{}' format is not supported".format(args.input_type))

Expand Down
2 changes: 1 addition & 1 deletion pipeline_interface.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ command_template: >
--narrowpeak {sample.narrowpeak}
--input-type {sample.format}
--genome {sample.genome}
--sample-name: {sample.sample_name}
--sample-name {sample.sample_name}
{% if sample.rfg_config is defined %} --rfg-config {sample.rfg_config} {% endif %}
compute:
size_dependent_variables: resources-sample.tsv
Expand Down

0 comments on commit 2daafc0

Please sign in to comment.