This commit is contained in:
Haoyu Cheng
2019-09-02 10:30:14 -04:00
parent 3c0c201cdf
commit d5327fe9ee
15 changed files with 3396 additions and 656 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# My first script
if [ $# -eq 1 ]
then
echo "input file is: "$1
echo $1" | paste - - | sort -k1,1 -t \" \" | tr \"\t\" \"\n\" > sort_"$1
cat $1 | paste - - | sort -k1,1 -t " " | tr "\t" "\n" > sort_$1
else
echo "./sort_fasta.sh file_name"
fi