view reformat_trinity_header.sh @ 7:92bc88be0e9d

toolshed5
author biomonika <biomonika@psu.edu>
date Tue, 09 Sep 2014 13:58:34 -0400
parents
children
line wrap: on
line source

#!/bin/bash

results=$1 #reformatted fasta sequence written here
trinity_fasta=${2}

perl -pe 's/(>[\S]+).+/$1/' $trinity_fasta >$results
samtools faidx $results