diff LINKYX_reformat_trinity_header.sh @ 22:7997c93ee479

last attempt to install perl as part of linkyx
author biomonika <biomonika@psu.edu>
date Thu, 11 Sep 2014 19:40:01 -0400
parents 695d28139f3e
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LINKYX_reformat_trinity_header.sh	Thu Sep 11 19:40:01 2014 -0400
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+results=$1 #reformatted fasta sequence written here
+trinity_fasta=${2}
+
+perl -pe 's/(>[\S]+).+/$1/' $trinity_fasta >$results
+samtools faidx $results
+
+