view scripts/isoform_exists.sh @ 7:90098d9cb691 default tip

workflows updated
author biomonika <biomonika@psu.edu>
date Fri, 20 Feb 2015 18:34:34 -0500
parents 05c27700e5ca
children
line wrap: on
line source

#!/bin/bash
#we will search for isoforms of this contig
contig_to_search=$1;
reference=$2;
#including only putative isoforms
part=`echo $contig_to_search | sed -n "s/^\(.*\_c[0-9]\+\)\_seq[0-9]\+/\1/p"`; egrep "$part\_" $reference | grep -v $contig_to_search;