-
Notifications
You must be signed in to change notification settings - Fork 7
/
transposon.model
33 lines (26 loc) · 1 KB
/
transposon.model
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name { transposon }
flushlen { 4000 }
gffcachelen { 3000 }
begin { $transposoncount = 0 }
link { from { start } to { start } }
eval { $linkend_is_spcwise_startpoint = grep($grepgffsource eq "spcwise" && $linkend == $grepgffstart, @gffcache) }
link { from { start } to { ir1 }
maxlen { 3000 }
endfilter { $linkend_is_spcwise_startpoint && $gfffeature eq "invrep" && $gffstrand eq "+" && $linkend > $gffstart }
startfilter { $linkstart == $gffstart }
insertgff { }
push { }
display { print $gfftext." mar".++$transposoncount."\n" } }
link { from { ir1 } to { ir2 }
maxlen { 1500 }
endfilter { $gffsource eq "spcwise" && $linkend == $gffend + 1 }
startfilter { $linkstart == $gffstart }
display { print $gfftext." mar".$transposoncount."\n" } }
link { from { ir2 } to { end }
maxlen { 3000 }
endfilter { $linkend == $gffend + 1 }
startfilter { $linkstart <= $gffstart }
popfilter { }
display { print $gfftext." mar".$transposoncount."\n" } }
link { from { end } to { start } }
link { from { end } to { end } }