File: ngasp_large_include.rb

package info (click to toggle)
genomethreader 1.7.3%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 46,528 kB
  • sloc: ansic: 90,168; ruby: 1,769; makefile: 548; sh: 112; perl: 105
file content (27 lines) | stat: -rw-r--r-- 1,171 bytes parent folder | download | duplicates (4)
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
if $gthtestdata then
  files="-genomic #{$gthtestdata}ngasp32/test_regions.fa " +
        "-cdna #{$gthtestdata}ngasp32/rna_matches.fa " +
        "-protein #{$gthtestdata}ngasp32/protein_matches.fa"

  opts="-bssm #{$gthtestdata}ngasp/ngasp -dpminintronlen 10 " +
       "-gcmaxgapwidth 22000 -enrichchains -scoreminexonlen 1 -maskpolyatails"

  Name "nGASP (gene prediction, complete)"
  Keywords "gth ngasp diss md5ids"
  Test do
    run "#{$bin}gth #{files} #{opts} -minalignmentscore 0.85 -startcodon yes " +
        "-skipalignmentout -gff3out -md5ids -o ngasp.gff3", :maxtime => 3600
    run "diff --strip-trailing-cr ngasp.gff3 #{$gthtestdata}ngasp/ngasp.gff3"
  end

  Name "nGASP (gene prediction, intermediate)"
  Keywords "gth ngasp diss md5ids"
  Test do
    run "#{$bin}gth #{files} #{opts} -intermediate " +
        "-xmlout -gzip -o ngasp.inter.gz", :maxtime => 3600
    run "#{$bin}gthconsensus -minalignmentscore 0.85 -startcodon yes " +
        "-skipalignmentout  -gff3out -md5ids " +
        "-o ngasp.inter.gff3 ngasp.inter.gz ", :maxtime => 1200
    run "diff --strip-trailing-cr ngasp.inter.gff3 #{$gthtestdata}ngasp32/ngasp.inter.gff3"
  end
end