Workflow Steps and Code Snippets
485 tagged steps and code snippets that match keyword BWA
50 51 52 53 54 55 56 57 58 | shell: """ gatk SamToFastq -I {input.bam} -F /dev/stdout -INTER true -NON_PF true \ | \ bwa mem -p -v 3 -t {threads} -T 0 \ {input.ref} /dev/stdin - 2> >(tee {log} >&2) \ | \ samtools view -Shb -o {output} """ |
Whole exome sequencing snakemake workflow based on GATK best practice
309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 | shell: ''' gatk --java-options "-Xmx{resources.mem_gb}G -XX:+UseParallelGC -XX:ParallelGCThreads={threads}" \ SamToFastq \ -I {input.bam} \ --FASTQ /dev/stdout \ --CLIPPING_ATTRIBUTE XT --CLIPPING_ACTION 2 \ --INTERLEAVE true -NON_PF true | bwa mem -K 100000000 \ -v 3 {params.bwa_args} -t {threads} -p -Y {params.index} /dev/stdin | gatk \ --java-options "-Xmx{resources.mem_gb}G -XX:+UseParallelGC -XX:ParallelGCThreads={threads}" \ MergeBamAlignment \ --VALIDATION_STRINGENCY SILENT \ --EXPECTED_ORIENTATIONS FR \ --ATTRIBUTES_TO_RETAIN X0 \ --ALIGNED_BAM /dev/stdin \ --UNMAPPED_BAM {input.bam} \ --OUTPUT {output.bam} \ -R {params.fa} \ --PAIRED_RUN true \ --SORT_ORDER "unsorted" \ --IS_BISULFITE_SEQUENCE false \ --ALIGNED_READS_ONLY false \ --CLIP_ADAPTERS false \ --MAX_RECORDS_IN_RAM 2000000 \ --ADD_MATE_CIGAR true \ --MAX_INSERTIONS_OR_DELETIONS -1 \ --PRIMARY_ALIGNMENT_STRATEGY MostDistant \ --UNMAPPED_READ_STRATEGY COPY_TO_TAG \ --ALIGNER_PROPER_PAIR_FLAGS true \ --UNMAP_CONTAMINANT_READS true {params.warp_workflow_params} ''' |
High throughput Next Generation Sequencing (NGS) data analysis using Python 3 Snakemake
130 131 132 133 | shell: """ ~/miniconda2/bin/bwa mem -t {threads} {params} {input.trimmed1} {input.trimmed2} > {output.rnaSam} """ |
A Snakemake workflow to process paired-end RNA-Seq data.
11 12 13 14 | shell: ''' bwa mem -t {threads} {input.rrna} {input.r1} {input.r2} > {output} ''' |
13 14 15 16 | shell: ''' bwa mem -t {threads} {input.rrna} {input.r1} {input.r2} > {output} ''' |
EukHeist: Capturing environmental eukaryotic genomes
270 271 272 273 | shell: """ bwa index {input} 2> {log} """ |
305 306 307 308 | shell: """ bwa mem -t {params.threads} {params.extra} {input.reference} {input.r1} {input.r2} | samtools sort -o {output} - >> {log} 2>&1 """ |
Snakemake workflow for analysis of Tara Euk Metagenomes
294 295 296 297 | shell: """ bwa index {input} 2> {log} """ |
329 330 331 332 | shell: """ bwa mem -t {params.threads} {params.extra} {input.reference} {input.r1} {input.r2} | samtools sort -o {output} - >> {log} 2>&1 """ |
tool / biotools
BWA
Fast, accurate, memory-efficient aligner for short and long sequencing reads