Skip to content

Commit

Permalink
remove readgroup
Browse files Browse the repository at this point in the history
  • Loading branch information
1dayac committed May 31, 2020
1 parent 0e3e598 commit 116cf5a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ configfile: "path_to_executables_config.json"
SAMPLE=config["sample"]
GIT_ROOT=config["root"]
BLAST_DB=config["blast_db"]
READGROUP=config["readgroup"]
GENOME=config["genome"]
SAMTOOLS=config["samtools"]
VELVETH=config["velveth"]
Expand Down Expand Up @@ -100,7 +99,7 @@ rule align_unmapped_reads_to_the_contigs:
shell:
"""
{LONGRANGER} mkref {input.filtered_fasta}
{LONGRANGER} align --localcores={THREADS} --localmem={MEMORY} --id=temp_{wildcards.sample} --reference={output.refdata} --fastqs={input.temp_dir}/{READGROUP}
{LONGRANGER} align --localcores={THREADS} --localmem={MEMORY} --id=temp_{wildcards.sample} --reference={output.refdata} --fastqs={input.temp_dir}/
{SAMTOOLS} view -b -F 12 temp_{wildcards.sample}/outs/possorted_bam.bam >{output.mapped_bam}
"""

Expand Down
1 change: 0 additions & 1 deletion novel-x.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def create_config(bam, genome, nt, outdir, lr20, m, t):
data['root'] = path.dirname(path.realpath(__file__))
data['sample'] = path.basename(bam)[:-4]
data['outdir'] = outdir
data['readgroup'] = get_read_group(bam)
data['threads'] = int(t)
data['memory'] = int(m)
data['memory_per_thread'] = int(m/(2*t)) + 1
Expand Down

0 comments on commit 116cf5a

Please sign in to comment.