-
Notifications
You must be signed in to change notification settings - Fork 23
Rey Ortiz Bautista, Roman Fresquez, Max Zupfer #5
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
Open
maxzupfer
wants to merge
8
commits into
qtran4:main
Choose a base branch
from
maxzupfer:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
735ed0c
Through Hmm Build
e4981a3
Through For Loop
8af90a0
through mcrA For Loop
5f00635
Final Bioinformatics Script
c6569c9
Final pH Candidates
4ceb993
Final Proteome Table
08b1b08
Final Proteome Table
b50aa12
Final pH Candidates
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| #Creating the Muscle for hspGenes | ||
| cd ~/Private/bioinformaticsProject/ref_sequences | cat hsp70gene_*.fasta >> hspgenes.txt | ~/Private/Biocomputing2022/tools/muscle -in hspgenes.txt -out hspGenesmuscle.txt | ||
| #HmmBuild for hspGenes | ||
| ~/Private/Biocomputing2022/tools/hmmbuild hmmbuild.hsp hspGenesmuscle.txt | ||
| #Copy hmmbuild.hsp to Proteome Directory | ||
| cp hmmbuild.hsp ../proteomes | ||
| #Move to Proteomes Directory to Run for loop | ||
| ~/Private/bioinformaticsProject/proteomes | ||
| #HmmSearch for hspGenes For Loop | ||
| for file in proteome_*.fasta | ||
| do | ||
| ~/Private/Biocomputing2022/tools/hmmsearch --tblout hmm.hspSearch${file} hmmbuild.hsp $file | ||
| done | ||
|
|
||
|
|
||
|
|
||
| #Creating the Muscle for the mcrAgenes | ||
| cd ~/Private/bioinformaticsProject/ref_sequences | cat mcrAgene_*.fasta >> mcrAgene.txt | ~/Private/Biocomputing2022/tools/muscle -in mcrAgene.txt -out mcrAmuscle.txt | ||
| #HmmBuild for mcrAgenes | ||
| ~/Private/Biocomputing2022/tools/hmmbuild hmmbuild.mcrA mcrAmuscle.txt | ||
| #Copy hmmbuild.mcrA to Proteomes Directory | ||
| cp hmmbuild.mcrA ../proteomes | ||
| #Move to Proteomes Directory to Run For Loop | ||
| ~/Private/bioinformaticsProject/proteomes | ||
| #HmmSearch for mcrA gene For Loop | ||
| for file in proteome_*.fasta | ||
| do | ||
| ~/Private/Biocomputing2022/tools/hmmsearch --tblout hmmSearch.mcrA${file} hmmbuild.mcrA $file | ||
| done | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| #Final Table Name: finaltable.txt | ||
| #Final Proteome Candidates: proteomecandidates.txt | ||
| #Assumption that our file system looks the same as the Graduate Student | ||
| #Usage: bash BioinformaticsProjectAnswer.sh | ||
| #Creating the Muscle for hspGenes | ||
| cd ~/Private/bioinformaticsProject/ref_sequences | cat hsp70gene_*.fasta >> hspgenes.txt | ~/Private/Biocomputing2022/tools/muscle -in hspgenes.txt -out hspGenesmuscle.txt | ||
| #HmmBuild for hspGenes | ||
| ~/Private/Biocomputing2022/tools/hmmbuild hmmbuild.hsp hspGenesmuscle.txt | ||
| #Copy hmmbuild.hsp to Proteome Directory | ||
| cp hmmbuild.hsp ../proteomes | ||
| #Move to Proteomes Directory to Run for loop | ||
| ~/Private/bioinformaticsProject/proteomes | ||
|
|
||
|
|
||
| #Creating the Muscle for the mcrAgenes | ||
| cd ~/Private/bioinformaticsProject/ref_sequences | cat mcrAgene_*.fasta >> mcrAgene.txt | ~/Private/Biocomputing2022/tools/muscle -in mcrAgene.txt -out mcrAmuscle.txt | ||
| #HmmBuild for mcrAgenes | ||
| ~/Private/Biocomputing2022/tools/hmmbuild hmmbuild.mcrA mcrAmuscle.txt | ||
| #Copy hmmbuild.mcrA to Proteomes Directory | ||
| cp hmmbuild.mcrA ../proteomes | ||
| #Move to Proteomes Directory to Run For Loop | ||
| ~/Private/bioinformaticsProject/proteomes | ||
|
|
||
| #Make Final File | ||
| echo proteome name, mcrAgenes, hsp70genes >> final.txt | ||
|
|
||
| #HmmSearch for Loop for both Hsp70 and mcrA | ||
| for file in proteome_*.fasta | ||
| do | ||
| #HmmSearch for hspgenes | ||
| ~/Private/Biocomputing2022/tools/hmmsearch --tblout hmm.hspSearch${file} hmmbuild.hsp $file | ||
| #HmmSearch for mcrAgenes | ||
| ~/Private/Biocomputing2022/tools/hmmsearch --tblout hmmSearch.mcrA${file} hmmbuild.mcrA $file | ||
| #Define Proteome Variable | ||
| proteome=$(echo $file) | ||
| #Define mcrA Variable | ||
| mcrAmatches=$(cat hmmSearch.mcrA${file} | grep -v "#" | wc -l) | ||
| #Define hsp70 Variable | ||
| hsp70matches=$(cat hmm.hspSearch${file} | grep -v "#" | wc -l) | ||
| #Put Loop Results in a text file | ||
| echo "$proteome,$mcrAmatches,$hsp70matches" >> final.txt | ||
| #Finish For Loop | ||
| done | ||
|
|
||
| #Remove .fasta from proteome names to Complete Final Table | ||
| cat final.txt | tr "." "," | cut -d , -f 1,3,4 >> finaltable.txt | ||
|
|
||
| #Make File With pH resistant methanogens | ||
| echo Top 15 candidate pH-resistant methanogens >> pH.txt | ||
| #See if mcrA is present, sort by hsp70 genes and give top 15 results | ||
| cat finaltable.txt | grep -E ,[1-2], | sort -t, -k3 -r | head -n 15 >> pH.txt | ||
| #Give name of final 15 Proteomes | ||
| cat pH.txt | cut -d , -f 1 >> proteomecandidates.txt | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| proteome_01,0,4 | ||
| proteome_02,0,1 | ||
| proteome_03,1,3 | ||
| proteome_04,0,4 | ||
| proteome_05,1,2 | ||
| proteome_06,0,0 | ||
| proteome_07,1,2 | ||
| proteome_08,0,5 | ||
| proteome_09,0,1 | ||
| proteome_10,0,3 | ||
| proteome_11,0,6 | ||
| proteome_12,0,6 | ||
| proteome_13,0,3 | ||
| proteome_14,0,1 | ||
| proteome_15,1,1 | ||
| proteome_16,1,1 | ||
| proteome_17,0,3 | ||
| proteome_18,0,8 | ||
| proteome_19,2,1 | ||
| proteome_20,0,3 | ||
| proteome_21,0,5 | ||
| proteome_22,0,9 | ||
| proteome_23,2,2 | ||
| proteome_24,1,2 | ||
| proteome_25,0,5 | ||
| proteome_26,0,1 | ||
| proteome_27,0,1 | ||
| proteome_28,0,1 | ||
| proteome_29,1,0 | ||
| proteome_30,0,1 | ||
| proteome_31,0,7 | ||
| proteome_32,0,4 | ||
| proteome_33,0,0 | ||
| proteome_34,0,1 | ||
| proteome_35,0,1 | ||
| proteome_36,0,3 | ||
| proteome_37,0,1 | ||
| proteome_38,1,1 | ||
| proteome_39,1,1 | ||
| proteome_40,0,1 | ||
| proteome_41,0,1 | ||
| proteome_42,1,3 | ||
| proteome_43,0,3 | ||
| proteome_44,1,1 | ||
| proteome_45,1,3 | ||
| proteome_46,0,1 | ||
| proteome_47,0,1 | ||
| proteome_48,1,1 | ||
| proteome_49,0,3 | ||
| proteome_50,1,3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| proteome_50 | ||
| proteome_45 | ||
| proteome_42 | ||
| proteome_03 | ||
| proteome_24 | ||
| proteome_23 | ||
| proteome_07 | ||
| proteome_05 | ||
| proteome_48 | ||
| proteome_44 | ||
| proteome_39 | ||
| proteome_38 | ||
| proteome_19 | ||
| proteome_16 | ||
| proteome_15 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| proteome_01,0,4 | ||
| proteome_02,0,1 | ||
| proteome_03,1,3 | ||
| proteome_04,0,4 | ||
| proteome_05,1,2 | ||
| proteome_06,0,0 | ||
| proteome_07,1,2 | ||
| proteome_08,0,5 | ||
| proteome_09,0,1 | ||
| proteome_10,0,3 | ||
| proteome_11,0,6 | ||
| proteome_12,0,6 | ||
| proteome_13,0,3 | ||
| proteome_14,0,1 | ||
| proteome_15,1,1 | ||
| proteome_16,1,1 | ||
| proteome_17,0,3 | ||
| proteome_18,0,8 | ||
| proteome_19,2,1 | ||
| proteome_20,0,3 | ||
| proteome_21,0,5 | ||
| proteome_22,0,9 | ||
| proteome_23,2,2 | ||
| proteome_24,1,2 | ||
| proteome_25,0,5 | ||
| proteome_26,0,1 | ||
| proteome_27,0,1 | ||
| proteome_28,0,1 | ||
| proteome_29,1,0 | ||
| proteome_30,0,1 | ||
| proteome_31,0,7 | ||
| proteome_32,0,4 | ||
| proteome_33,0,0 | ||
| proteome_34,0,1 | ||
| proteome_35,0,1 | ||
| proteome_36,0,3 | ||
| proteome_37,0,1 | ||
| proteome_38,1,1 | ||
| proteome_39,1,1 | ||
| proteome_40,0,1 | ||
| proteome_41,0,1 | ||
| proteome_42,1,3 | ||
| proteome_43,0,3 | ||
| proteome_44,1,1 | ||
| proteome_45,1,3 | ||
| proteome_46,0,1 | ||
| proteome_47,0,1 | ||
| proteome_48,1,1 | ||
| proteome_49,0,3 | ||
| proteome_50,1,3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| proteome_50 | ||
| proteome_45 | ||
| proteome_42 | ||
| proteome_03 | ||
| proteome_24 | ||
| proteome_23 | ||
| proteome_07 | ||
| proteome_05 | ||
| proteome_48 | ||
| proteome_44 | ||
| proteome_39 | ||
| proteome_38 | ||
| proteome_19 | ||
| proteome_16 | ||
| proteome_15 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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