~ubuntu-branches/debian/jessie/ugene/jessie

« back to all changes in this revision

Viewing changes to data/workflow_samples/DNA assembly/gen-al-read-index.uwl

  • Committer: Package Import Robot
  • Author(s): Steffen Moeller
  • Date: 2011-11-02 13:29:07 UTC
  • mfrom: (1.2.1) (3.1.11 natty)
  • Revision ID: package-import@ubuntu.com-20111102132907-o34gwnt0uj5g6hen
Tags: 1.9.8+repack-1
* First release to Debian
  - added README.Debian
  - increased policy version to 3.9.2
  - added URLs for version control system
* Added debug package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!UGENE_WORKFLOW
 
2
#Aligns short reads to reference genome using a pre-built genome aligner index. The output alignment is saved to SAM format. To execute the schema do the following:1) Select "Read sequence" task and specify source file(s) at "URL" field in the Property Editor.2) Select "Genome aligner index reader" task and specify URL to the pre-built index.3) Specify genome aligner options in the properties of "UGENE genome aligner" task.4) Launch the schema with pressing Ctrl+R shrotcut.After running the schema, the alignment file will appear in the same folder as the source file. Pre-built indxeses can be built by UGENE genome aligner index builder.
 
3
#
 
4
#
 
5
 
 
6
workflow "Align to reference genome with UGENE genome aligner"{
 
7
 
 
8
    gen-al-read-index {
 
9
        type:gen-al-read-index;
 
10
        name:"Genome aligner index reader";
 
11
    }
 
12
    read-sequence {
 
13
        type:read-sequence;
 
14
        name:"Short-reads reader";
 
15
        merge-gap:10;
 
16
        mode:0;
 
17
    }
 
18
    genome-aligner {
 
19
        type:genome-aligner;
 
20
        name:"UGENE genome aligner";
 
21
        absolute-mismatches:0;
 
22
        best:false;
 
23
        gpu:false;
 
24
        if-absolute-mismatches-value:false;
 
25
        percentage-mismatches:0;
 
26
        quality-threshold:0;
 
27
        reverse:true;
 
28
    }
 
29
    write-msa {
 
30
        type:write-msa;
 
31
        name:"SAM writer";
 
32
        document-format:clustal;
 
33
        write-mode:2;
 
34
    }
 
35
 
 
36
    gen-al-read-index.gen-al-index-slot->genome-aligner.in-gen-al-index.gen-al-index-slot
 
37
    read-sequence.sequence->genome-aligner.in-sequence.sequence
 
38
    genome-aligner.msa->write-msa.in-msa.msa
 
39
 
 
40
    .iteration "Default iteration"{
 
41
        id:6;
 
42
 
 
43
        write-msa {
 
44
            document-format:sam;
 
45
        }
 
46
    }
 
47
    .meta {
 
48
        visual {
 
49
            gen-al-read-index {
 
50
                description:"<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0//EN' 'http://www.w3.org/TR/REC-html40/strict.dtd'> <html><head><meta name='qrichtext' content='1' /><style type='text/css'> p, li { white-space: pre-wrap; } </style></head><body style=' font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;'> <p align='center' style=' margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;'><span style=' font-weight:600;'>Genome aligner index reader</span></p> <hr /> <p style=' margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;'>Read genome aligner index from and send it url to output.</p></body></html>";
 
51
                tooltip:"Read a set of several files with extensions .idx, .ref, .X.sarr. These files together constitute the index: they are all that is needed to align reads to that reference.";
 
52
                pos:"-780 -555";
 
53
                style:ext;
 
54
                bg-color-ext:"0 128 128 64";
 
55
                out-gen-al-index.angle:360;
 
56
            }
 
57
            read-sequence {
 
58
                description:"<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0//EN' 'http://www.w3.org/TR/REC-html40/strict.dtd'> <html><head><meta name='qrichtext' content='1' /><style type='text/css'> p, li { white-space: pre-wrap; } </style></head><body style=' font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;'> <p align='center' style=' margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;'><span style=' font-weight:600;'>Short-reads reader</span></p> <hr /> <p style=' margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;'>Reads sequence(s) from <span style=' text-decoration: underline; color:#ff0000;'>unset</span>.</p></body></html>";
 
59
                tooltip:"Reads sequences and annotations if any from local or remote files.";
 
60
                pos:"-765 -390";
 
61
                style:ext;
 
62
                bg-color-ext:"0 128 128 64";
 
63
                out-sequence.angle:360;
 
64
            }
 
65
            genome-aligner {
 
66
                description:"<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0//EN' 'http://www.w3.org/TR/REC-html40/strict.dtd'> <html><head><meta name='qrichtext' content='1' /><style type='text/css'> p, li { white-space: pre-wrap; } </style></head><body style=' font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;'> <p align='center' style=' margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;'><span style=' font-weight:600;'>UGENE genome aligner</span></p> <hr /> <p style=' margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;'>Align short reads to the reference genome and send it to output.</p></body></html>";
 
67
                tooltip:"Unique UGENE algorithm for aligning short reads to reference genome";
 
68
                pos:"-540 -465";
 
69
                style:ext;
 
70
                bg-color-ext:"0 128 128 64";
 
71
                in-gen-al-index.angle:150;
 
72
                in-sequence.angle:210;
 
73
                out-msa.angle:360;
 
74
            }
 
75
            write-msa {
 
76
                description:"<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0//EN' 'http://www.w3.org/TR/REC-html40/strict.dtd'> <html><head><meta name='qrichtext' content='1' /><style type='text/css'> p, li { white-space: pre-wrap; } </style></head><body style=' font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;'> <p align='center' style=' margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;'><span style=' font-weight:600;'>SAM writer</span></p> <hr /> <p style=' margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;'>Save all MSAs from <span style=' text-decoration: underline;'>UGENE genome aligner</span> to <span style=' text-decoration: underline; color:#ff0000;'>unset</span>.</p></body></html>";
 
77
                tooltip:"Writes all supplied alignments to file(s) in selected format";
 
78
                pos:"-300 -465";
 
79
                style:ext;
 
80
                bg-color-ext:"0 128 128 64";
 
81
                in-msa.angle:180;
 
82
            }
 
83
            gen-al-read-index.out-gen-al-index->genome-aligner.in-gen-al-index {
 
84
                text-pos:"-45 -37";
 
85
            }
 
86
            read-sequence.out-sequence->genome-aligner.in-sequence {
 
87
                text-pos:"-27.5 -24";
 
88
            }
 
89
            genome-aligner.out-msa->write-msa.in-msa {
 
90
                text-pos:"-45 -37";
 
91
            }
 
92
        }
 
93
    }
 
94
}
 
95