Skip to content
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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

haveaniceday9
Copy link

No description provided.

#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

Copy link
Owner

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

Copy link
Owner

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

Copy link
Owner

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

Copy link
Owner

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

Copy link
Owner

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]

Copy link
Owner

@qtran4 qtran4 left a 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?

Copy link
Owner

@qtran4 qtran4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+20
Good job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants