File: run_small_GG_mutliScaff_test.sh

package info (click to toggle)
trinityrnaseq 2.15.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 468,004 kB
  • sloc: perl: 49,905; cpp: 17,993; java: 12,489; python: 3,282; sh: 1,989; ansic: 985; makefile: 717; xml: 62
file content (15 lines) | stat: -rwxr-xr-x 427 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash -ve


$TRINITY_HOME/Trinity --genome_guided_max_intron 1000 --genome_guided_bam transAligns.cSorted.bam --max_memory 2G  --output test_GG_use_small_multiscaff_bam_trinity_outdir


outfile="test_GG_use_small_multiscaff_bam_trinity_outdir/Trinity-GG.fasta"
asmsize=$(wc -c <"${outfile}")
if [ $asmsize -le 650000 ]; then
    echo "Error, ${outfile} potentially incomplete"
    exit 1
else
    echo "ok"
    exit 0
fi