view scripts/reformat_trinity_header.sh @ 3:a593fdf59cb8

dep test
author biomonika <biomonika@psu.edu>
date Tue, 02 Sep 2014 15:36:59 -0400
parents 1955f03f092e
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