Mercurial > repos > biomonika > linkyx
comparison scripts/isoform_exists.sh @ 9:695d28139f3e
toolshed8
| author | biomonika <biomonika@psu.edu> |
|---|---|
| date | Tue, 09 Sep 2014 14:31:02 -0400 |
| parents | 1955f03f092e |
| children |
comparison
equal
deleted
inserted
replaced
| 8:983278b1fdb2 | 9:695d28139f3e |
|---|---|
| 1 #!/bin/bash | |
| 2 #we will search for isoforms of this contig | |
| 3 contig_to_search=$1; | |
| 4 reference=$2; | |
| 5 #including only putative isoforms | |
| 6 part=`echo $contig_to_search | sed -n "s/^\(.*\_c[0-9]\+\)\_seq[0-9]\+/\1/p"`; egrep "$part\_" $reference | grep -v $contig_to_search; |
