view LINKYX_reformat_trinity_header.sh @ 7:90098d9cb691 default tip

workflows updated
author biomonika <biomonika@psu.edu>
date Fri, 20 Feb 2015 18:34:34 -0500
parents 0d8315be76b7
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