Workflow Steps and Code Snippets

261 tagged steps and code snippets that match keyword fastp

Snakemake pipeline for detection limit test from laser-microdissected samples

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
shell:
    """
    if [[ {params.is_paired} = True ]] ; then
        fastp \
            --in1 {input.forward_} \
            --in2 {input.reverse_} \
            --out1 >(bgzip -l 1 -@ {threads} > {output.forward_}) \
            --out2 >(bgzip -l 1 -@ {threads} > {output.reverse_}) \
            --unpaired1 >(bgzip -l 1 -@ {threads} > {output.unpaired1}) \
            --unpaired2 >(bgzip -l 1 -@ {threads} > {output.unpaired2}) \
            --html {output.html} \
            --json {output.json} \
            --compression 1 \
            --verbose \
            --adapter_sequence {params.adapter_forward} \
            --adapter_sequence_r2 {params.adapter_reverse} \
            --length_required {params.length_required} \
            --thread {threads} \
            {params.extra} \
        2> {log} 1>&2
    else
        fastp \
            --in1 {input.forward_} \
            --out1 >(bgzip -l 1 -@ {threads} > {output.forward_}) \
            --html {output.html} \
            --json {output.json} \
            --compression 1 \
            --verbose \
            --adapter_sequence {params.adapter_forward} \
            --length_required {params.length_required} \
            --thread {threads} \
            {params.extra} \
        2> {log} 1>&2
    fi
    """
37
38
39
40
41
42
43
44
45
46
shell:
    """
    multiqc \
        --title fastp \
        --force \
        --filename fastp \
        --outdir {params.dir} \
        {input} \
    2> {log} 1>&2
    """

Bioinfo Macro Host Genome Short Variant Discovery Workflow

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
shell:
    """
    fastp \
        --in1 {input.forward_} \
        --in2 {input.reverse_} \
        --out1 {output.forward_} \
        --out2 {output.reverse_} \
        --unpaired1 {output.unpaired1} \
        --unpaired2 {output.unpaired2} \
        --html {output.html} \
        --json {output.json} \
        --compression 1 \
        --verbose \
        --adapter_sequence {params.adapter_forward} \
        --adapter_sequence_r2 {params.adapter_reverse} \
        --thread {threads} \
        {params.extra} \
    2> {log} 1>&2
    """
37
38
39
40
41
42
43
44
45
46
shell:
    """
    multiqc \
        --title fastp \
        --force \
        --filename fastp \
        --outdir {params.dir} \
        {input} \
    2> {log} 1>&2
    """

Repository containing bioinformatic code for macro-scale host transcriptomic data processing (v0.0.1)

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
shell:
    """
    fastp \
        --in1 {input.forward_} \
        --in2 {input.reverse_} \
        --out1 {output.forward_} \
        --out2 {output.reverse_} \
        --unpaired1 {output.unpaired1} \
        --unpaired2 {output.unpaired2} \
        --html {output.html} \
        --json {output.json} \
        --compression 1 \
        --verbose \
        --trim_poly_g \
        --trim_poly_x \
        --adapter_sequence {params.adapter_forward} \
        --adapter_sequence_r2 {params.adapter_reverse} \
        --thread {threads} \
        {params.extra} \
    2> {log} 1>&2
    """
58
59
60
61
62
63
64
65
66
67
68
shell:
    """
    multiqc \
        --title fastp \
        --force \
        --filename fastp \
        --outdir {params.dir} \
        --config {input.config} \
        {input} \
    2> {log} 1>&2
    """

Snakemake workflow: Bioinfo_Macro_Microbial_Metatranscriptomics

25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
shell:
    """
    fastp \
        --in1 {input.forward_} \
        --in2 {input.reverse_} \
        --out1 {output.forward_} \
        --out2 {output.reverse_} \
        --unpaired1 {output.unpaired1} \
        --unpaired2 {output.unpaired2} \
        --html {output.html} \
        --json {output.json} \
        --compression 1 \
        --verbose \
        --adapter_sequence {params.adapter_forward} \
        --adapter_sequence_r2 {params.adapter_reverse} \
        --thread {threads} \
        {params.extra} \
    2> {log} 1>&2
    """
37
38
39
40
41
42
43
44
45
46
shell:
    """
    multiqc \
        --title fastp \
        --force \
        --filename fastp \
        --outdir {params.dir} \
        {input} \
    2> {log} 1>&2
    """

Snakemake workflow: Bioinfo_Macro_Microbial_Metatranscriptomics

25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
shell:
    """
    fastp \
        --in1 {input.forward_} \
        --in2 {input.reverse_} \
        --out1 {output.forward_} \
        --out2 {output.reverse_} \
        --unpaired1 {output.unpaired1} \
        --unpaired2 {output.unpaired2} \
        --html {output.html} \
        --json {output.json} \
        --compression 1 \
        --verbose \
        --adapter_sequence {params.adapter_forward} \
        --adapter_sequence_r2 {params.adapter_reverse} \
        --thread {threads} \
        {params.extra} \
    2> {log} 1>&2
    """
37
38
39
40
41
42
43
44
45
46
shell:
    """
    multiqc \
        --title fastp \
        --force \
        --filename fastp \
        --outdir {params.dir} \
        {input} \
    2> {log} 1>&2
    """
tool / biotools

fastp

A tool designed to provide fast all-in-one preprocessing for FastQ files. This tool is developed in C++ with multithreading supported to afford high performance.