-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.sh
28 lines (25 loc) · 830 Bytes
/
main.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
# Name: Eric Leung
# Assignment: Research Project
# Date: December 8th, 2014
# Bash Ver: 3.2.53
# Script: main.sh
# Desription: This is the main command to
# check for files needed for scripts ahead
# Example: sh main.sh
# perform OR on pathways and choose pathway
if [ -f "odds.py" ]; then
echo "Script for first part of project exists."
python odds.py
else
echo "Script for first part doesn't exist."
fi
# examine cross-species conservation of pathway genes
if [ -f "pathway_info.csv" ] && [ -f "crossSpecies.py" ]; then
echo "Script and CSV file for second part of project exists!\n"
python crossSpecies.py pathway_info.csv
else
echo "Script for second part of project doesn't exist."
echo "Or first part of script didn't finish"
echo "Please try again."
fi