Skip to content

Commit

Permalink
Try to fix unselected files
Browse files Browse the repository at this point in the history
  • Loading branch information
weber8thomas committed Jun 24, 2024
1 parent 11c1985 commit 0dfd6f8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions workflow/rules/count.smk
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,12 @@ if config["ashleys_pipeline"] is False:
conda:
"../envs/mc_base.yaml"
shell:
"echo 'cell\tprobability\tprediction' > {output}"
"""
echo 'cell\tprobability\tprediction' > {output}
# Process table and append to the output
tail -n+15 {wildcards.folder}/{wildcards.sample}/counts/{wildcards.sample}.info_raw | \
awk '{{print $1"\t"$10"\t"$10}}' >> {output}
"""


rule copy_labels:
Expand Down Expand Up @@ -136,7 +141,7 @@ rule symlink_selected_bam:

rule remove_unselected_bam:
input:
labels="{folder}/{sample}/cell_selection/labels.tsv",
labels="{folder}/{sample}/config/labels.tsv",
bam=unselected_input_bam,
bai=unselected_input_bai,
output:
Expand Down

0 comments on commit 0dfd6f8

Please sign in to comment.