Skip to content

Commit

Permalink
Snake_Dropseq.py: removed fetch_all_bam rule - obsolete from old master
Browse files Browse the repository at this point in the history
  • Loading branch information
frenkiboy committed Feb 25, 2020
1 parent e1424aa commit 3f9473c
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions Snake_Dropseq.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,28 +393,6 @@ def fetch_fastq_technical_replicates(wc):
input_fastq = list(input_fastq)
return(input_fastq)

rule merge_bam_per_sample:
input:
bam_files = fetch_all_bams
output:
outfile = os.path.join(PATH_MAPPED, "{name}","{name}" + ".Merged.bam")
log:
log = os.path.join(PATH_LOG, '{name}.merge_bam_per_sample.log')
params:
samtools = SOFTWARE['samtools']['executable'],
samtools_args = SOFTWARE['samtools']['args']
run:
in_files = ' '.join(input.bam_files)
command = ' '.join([
params.samtools,
params.samtools_args,
'cat -o',
output.outfile,
in_files,
'2>' + str(log.log)
])
print(command, file=sys.stderr)
shell(command)

rule merge_technical_replicates:
input:
Expand Down

0 comments on commit 3f9473c

Please sign in to comment.