Fosmid assembly annotation

public public 1yr ago 0 bookmarks

BejaLab's fosmid assembly and annotation pipeline

The pipeline takes the list of fosmids in fosmids.txt that contains three columns: fosmid name and left and right reads.

The pipeline will run:

  • quality trimm

Code Snippets

20
21
shell:
    "wget -O {output} {params.url}"
34
35
shell:
    "trim_galore --paired {input} --basename {wildcards.id} --output_dir {params.dirname}"
49
50
shell:
    "spades.py -t {threads} -1 {input.r1} -2 {input.r2} -o {params.dirname}"
62
63
shell:
    "seqkit head -n1 {input} | cutadapt --times 4 --rc --report=minimal --info-file {output.info} -g file:{input.fw} -a file:{input.rv} - > {output.fasta}"
70
71
shell:
    "cp {input} {output}"
79
80
81
82
83
84
85
run:
    sets = dict(
        fasta  = { "class": "File", "location": basename(input.fasta)  },
        submol = { "class": "File", "location": basename(input.submol) }
    )
    with open(output[0], 'w') as fd:
        yaml.dump(sets, fd)
 97
 98
 99
100
101
shell:
    """
    rm -r {params.dirname}
    pgap.py --debug --ignore-all-errors --report-usage-true --cpu {threads} -o {params.dirname} {input.yaml}
    """
111
112
shell:
    "perl {input.script} {input.pgap}"
ShowHide 5 more snippets with no or duplicated tags.

Login to post a comment if you would like to share your experience with this workflow.

Do you know this workflow well? If so, you can request seller status , and start supporting this workflow.

Free

Created: 1yr ago
Updated: 1yr ago
Maitainers: public
URL: https://github.com/BejaLab/fosmids
Name: fosmids
Version: 1
Badge:
workflow icon

Insert copied code into your website to add a link to this workflow.

Downloaded: 0
Copyright: Public Domain
License: None
  • Future updates

Related Workflows

cellranger-snakemake-gke
snakemake workflow to run cellranger on a given bucket using gke.
A Snakemake workflow for running cellranger on a given bucket using Google Kubernetes Engine. The usage of this workflow ...