comparison LINKYX_reformat_trinity_header.sh @ 9:695d28139f3e

toolshed8
author biomonika <biomonika@psu.edu>
date Tue, 09 Sep 2014 14:31:02 -0400
parents
children
comparison
equal deleted inserted replaced
8:983278b1fdb2 9:695d28139f3e
1 #!/bin/bash
2
3 results=$1 #reformatted fasta sequence written here
4 trinity_fasta=${2}
5
6 perl -pe 's/(>[\S]+).+/$1/' $trinity_fasta >$results
7 samtools faidx $results
8
9