view LINKYX_reformat_trinity_header.sh @ 30:57b2221536fc

remove custom samtools package to its own package on TTS
author biomonika
date Tue, 10 Feb 2015 11:33:33 -0500
parents 695d28139f3e
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