This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
GCC_VERSION="6.4.0" | |
WORKDIR="$HOME/gcc" | |
INSTALLDIR="/BIGDATA/app/gcc/6.4.0" | |
# get the source code | |
cd $WORKDIR | |
wget http://www.netgull.com/gcc/releases/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.xz | |
tar -xf gcc-${GCC_VERSION}.tar.xz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# | |
# Usage: sspace_evidence2agp.pl formattedcontigs.fasta < final.evidence > out.agp 2> out.stderr | |
# e.g. sspace_evidence2agp.pl intermediate_results/standard_output.formattedcontigs.fasta < standard_output.final.evidence > standard_output.agp 2> standard_output.agp.stderr | |
# | |
# What this script does: | |
# 1) Uses the *.final.evidence file created by SSPACE to generate an AGP v2.0 file. | |
# 2) Uses information in the *.formattedcontigs.fasta file to recover the original contig | |
# names. | |
# 3) Non-positive length gaps are output as component_type=U and gap length 100, as per the |