-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elias_Issa-Project1 #8
base: main
Are you sure you want to change the base?
Conversation
#Compiles all the individual hsp70 and mcrA sequences into one file | ||
cat ref_sequences/hsp70*.fasta > hsp70seq.fasta | ||
cat ref_sequences/mcrA*.fasta > mcrAseq.fasta | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+2
#Uses combined seq files to form alignments using muscle | ||
~/Private/Biocomputing2022/Tools/muscle -in hsp70seq.fasta -out hsp70align.afa | ||
~/Private/Biocomputing2022/Tools/muscle -in mcrAseq.fasta -out mcrAalign.afa | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+3
#Uses alignments to build a profile with hmmbuild | ||
~/Private/Biocomputing2022/Tools/hmmbuild hsp70profile.hmm hsp70align.afa | ||
~/Private/Biocomputing2022/Tools/hmmbuild mcrAprofile.hmm mcrAalign.afa | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+3
#Appends proteome name and hsp70 and mcrA matches to summary file | ||
echo $a, $b, $c >> summary.csv | ||
done | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+6
#Removes heading of summary file as well as proteomes with no matches | ||
#Sorts by number of hsp70 matches (highest to lowest), gets top four matches (each with 3 hsp70) and saves proteome names to candidate file | ||
cat summary.csv | sed '1d' | sed -e '/, 0/d'| sort -k2,2nr | head -n 4 | cut -d, -f 1 > candidates.txt | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-header comments, including usage line [1 point]
-general commenting of code throughout script [1 point]
-code efficiency [2 points]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also upload the summary.csv for me?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+20
Good job
No description provided.