BIO257_PS2
.txt
keyboard_arrow_up
School
University of Rochester *
*We aren’t endorsed by this school
Course
257W
Subject
Biology
Date
Jan 9, 2024
Type
txt
Pages
3
Uploaded by MagistrateViper3914
Problem Set 2
BIO 257 Due 9/19/2023
You may discuss this problem set with your classmates, but the work must be done independently. Please refer to the Academic honesty statement on Blackboard for additional details. Be sure to include your modified versions of the python scripts
for each question and their output in the tar file that you submit. Please annotate
your code with comments using ‘#’. Follow the example comments found in each python
script in the PS2 folder. For all questions (1-5), please paste the commands that you used on the command line in this text file (BIO257_PS2.2023.txt) below each question, and be sure to turn this in with the rest of the assignment. Do not enter
python code or output that is contained in a file into BIO257_PS2.2023.txt, just enter what you typed in/printed out to the terminal.
Hint: refer to the Lab worksheets for example code that you can modify!
Total points: 10
1) Make a "user_id.PS2" directory inside your '/scratch/bio257_2023/Users/user_id’ directory, and upload the PS2 files from blackboard (BIO257_PS2.2023.txt, change_case.py, GC_content.py, mixed_case.fasta, and genome.assembly.key.txt) into that folder. If PS2 folder exists on Bluehive, then you may copy that folder to '/scratch/bio257_2023/Users/user_id’ directory, and change the name of new PS2 folder in your directory to ‘user_id.PS2’. (Note: replace ‘user_id’ with your user id). Change permissions on your ‘user_id.PS2’ folder itself (not recursively) so that owner (you) can read, write, and execute, but all others cannot read, write, or execute. Do all of the following problems inside that directory— be sure that all of your code and output are in this directory before you do #5.
cp -r /scratch/bio257_2023/Problem_Sets/PS2/. /scratch/bio257_2023/Users/xlu36
mkdir xlu36.PS2
mv BIO257_PS2.2023.txt genome.assembly.key.txt change_case.py mixed_case.fasta GC_content.py xlu36.PS2
chmod 700 xlu36.PS2
cd ..
chmod 700 xlu36.PS2
cd ..
ls -l xlu36
Output:
total 4
drwxrws---+ 2 xlu36 bio257_2023 4096 Sep 5 12:54 Module1
drwxrws---+ 2 xlu36 bio257_2023 4096 Sep 21 13:13 Module4
-rwxr-x---+ 1 xlu36 bio257_2023 1177 Sep 21 09:25 module6mo
drwxrws---+ 2 xlu36 bio257_2023 4096 Sep 21 13:31 Module6
-rw-rwsr--+ 1 xlu36 bio257_2023 92 Sep 5 13:09 xlu36.info.txt
drwxrws---+ 2 xlu36 bio257_2023 4096 Sep 8 11:32 xlu36.PS1
drwx--S---+ 2 xlu36 bio257_2023 4096 Sep 22 15:34 xlu36.PS2
2) Modify the 'change_case.py' script to read in a file, convert each line to all lowercase and print to output file 'lower_case.fasta’. Run your code using ‘mixed_case.fasta’ as the input file. python3 change_case.py mixed_case.fasta lower_case.fasta
more -10 lower_case.fasta
3) Currently, the 'GC_content.py' script only calculates 'G'%. Modify it so that it
calculates 'G'%, 'C'%, and GC% (that is, percentage of bases that are G or C) and use the following string as input:
CATGCATTATTGTCTCAGTGCAGTTGTCAGTTGCAGTTCAGCAGACGGGCTAACGAGTACTTGCATCTCTTCAAATTTACTTA
ATTGATCAAGTAAGTAGCAAAAGGGCACACAATTGAAGGAAATTCTTGTTTAATTGAATTTATTATGCAAGTGCGGAAATAAA
ATGACAGTATTAAATAGTAAATATTTTGTAAAATCATATATAATCAAATTTATTCAATCAGAACTAATTCAAGC
Paste the command line that you used to run your script and the output that was printed to your screen below.
python3 GC_content.py CATGCATTATTGTCTCAGTGCAGTTGTCAGTTGCAGTTCAGCAGACGGGCTAACGAGTACTTGCATCTCTTCAAATTTACTTA
ATTGATCAAGTAAGTAGCAAAAGGGCACACAATTGAAGGAAATTCTTGTTTAATTGAATTTATTATGCAAGTGCGGAAATAAA
ATGACAGTATTAAATAGTAAATATTTTGTAAAATCATATA
Output:
The G% of your sequence is: 18.446601941747574
The C% of your sequence is: 13.592233009708737
The GC% of your sequence is: 32.038834951456316
4) You’ve made a genome assembly that has 4 scaffolds and 17 contigs. Your ‘genome.assembly.key.txt’ file contains a list of contigs and the scaffolds they belong to in your assembly, where contig and scaffold names are delimited by a colon. Write a python script named 'summarize_contigs.py' to:
a. read in the file 'genome.assembly.key.txt', b. use a 'for' loop to go through every line in this file,
c. output the name of the contigs belonging to 'Scaffold_3' to an output file
‘Scaffold3.contig.list.txt'. Be sure to only print out the name of the contigs (not the scaffolds), one name on each line of your output file. python3 summarize_contigs.py genome.assembly.key.txt Scaffold3.contig.list.txt lsls
Output:
BIO257_PS2.2023.txt genome.assembly.key.txt Scaffold3.contig.list.txt
change_case.py lower_case.fasta summarize_contigs.py
GC_content.py mixed_case.fasta
5) Make a tarfile of your directory that includes your user_id and *move* (not copy) this tarfile to the following directory: /scratch/bio257_2023/Assignment_dump/PS2. (Be sure to paste your commands here.)
tar -cf xlu36.PS2.tar xlu36.PS2
mv xlu36.PS2.tar /scratch/bio257_2023/Assignment_dump/PS2
Hint: you can use the command ‘tar -tvf mytarfile.tar’ to list the contents of your
tar file after archiving your folder. Use this command to check that your tar file has all of its contents before you move it to the Assignment_dump/PS2 directory.
I have worked with the following students on this assignment:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Please help me!
arrow_forward
Please help a bit confused, I have attached the questions and fill in box
arrow_forward
m/secured#lockdown
=
M My Old Gmail My main Google D...
Hedy Lamarr, the Inventor
Google Docs - My...
Nursing Schools .....
Hedy Lamarr was a woman of many talents. She was first known as a European
film actress in the 1930s. She began starring in American films with MGM
Studios in the late 1930s and early 1940s. Some of her more popular films
included Boom Town (1940) and White Cargo (1942); however, her roles generally
did not include very many spoken lines and she became bored. To relieve this
boredom, Lamarr took up inventing.
.
Hedy Lamarr did not have any formal training, but she did not allow that to stop
her from teaching herself in her spare time. Although she had a number of
failed inventions, such as an improved traffic light and a carbonated drink,
Lamarr did not stop coming up with ideas. She even spent time working with the
science engineering team employed by Howard Hughes, the aviation tycoon.
During World War II, Lamarr learned that one of the military's new…
arrow_forward
AutoSave
Document1 - Compatibility Mode - Word
Search
困
Of
steve M
SM
File
Home
Insert
Draw
Design
Layout
References
Mailings
Review
View
Help
E Share
O Comments
21. What happens to sodium channels and potassium channels during repolarization of a
neuron?
A. both potassium channels and sodium channels remain closed
B. the sodium channels close, followed by opening of the potassium channels
C. both sodium channels and potassium channels remain closed
D. the sodium channels open, but the potassium channels remain closed
E. both potassium channels and sodium channels remain open
22. The above repolarization of a neuron will result in which of the following ionic currents?
A. a potassium current will transport K+ ions out of the cytoplasm
B. a sodium current will transport Na+ ions out of the cytoplasm
C. a potassium current will transport K* ions into the cytoplasm
D. a sodium current will transport Nat ions into the cytoplasm
E. a sodium current will transport K* ions into the cytoplasm…
arrow_forward
m/courses/40064/discussion topics/573131?module_item_id=1922680
TH200.W11_Fall 2024 > Discussions > Week 2: Discussion 2
Q Search entries or author...
All
Sort
View Split Screen
Expand Threads
ments
1
You must post before seeing replies. Edit history will be available to instructors.
ES
Due Sep 1 11:59pm Available from Aug 26 until Sep 1
MI+
0x
CA
อ
L
Finish update
10 points possible
1 Reply. 1 Unread
x
Week 2: Discussion 2
After reviewing the materials in this module and Chapter 1, you were introduced to the social determinants of health. You learned that there are actors that contrit
What do we mean by the determinants of health? Think about your community and discuss at least two determinants of health.
Please post your response in 1-2 paragraphs. A paragraph is 5-10 sentences.
Reply
Previous
11
Next▸
84°F Sunny
4
10:42 AM
8/27/2024
arrow_forward
Please answer asap and type your answer and do not copy from anywhere please
arrow_forward
In the CPT, Surgery is the largest section for category I codes. Its code range is from 10000 to 69990 and each subsection within Surgery is divided based on body systems, since we can have surgical procedures from head to toe. As every other section of the CPT manual, the Surgery section has its own colored guidelines.
For our third discussion, please answer the following questions in your initial post:
When are the new guidelines in the coding manuals published and when do they become effective?
What would happen if we do not adhere to these?
arrow_forward
not writing assignment!!!!!!!!!
could you make powerpoint presentation subtopics for Fluorescent Protein-Based Biosensors and Their Clinical Applications
example of what i want is below - just follow the format no need to do it i just need a format for the topic
arrow_forward
X w ASSIGNMENT Define each term X
Os://onedrive.live.com/edit.aspx?resid=40F4BEB72DD81FC21540&ithint=file%2cdocx&ct=1694280480854&wdOrigin=OFFICECOM-WEB.START.UPLOAD&wd
tword - Search
X
T Define each term listed and give an example (2)
Layout References Review View Help Table Design Table Layout
Calibri (Body)
B I U abx, x² Aa
126 words
V 12 V
Font
Word | Microsoft 365
Name:
A A Po 5-16-17-3
A.
NDQ
Deficient
1.
2.
3.
EEEEE
Oxygenation
Search (Alt + Q)
Paragraph
English (US) Text Predictions: On Editor Suggestions Showing
1.
1. Define each term listed as the Nursing Diagnosis Qualifier (NDQ).
2. Provide three (3) Nursing Diagnosis Statements when an alteration occurs within the concepts of oxygenation, perfusion, fluid & electrolytes,
tissue integrity, and thermoregulation.
2.
¶
3.
¶
Perfusion
Desktop 1
AaBbCe
Normal
D
1.
2.
Word | Microsoft 365
3.
AaBbCc
No Spacing
Fluid & Electrolytes
1.
2.
3.
AaBbCc
Heading 1
Styles
New desktop
xa gmail login mail - Search
Tissue Integrity
+
AaBbcc…
arrow_forward
Question: The patient complained of pyrosis after heavy meals. Define this term?
arrow_forward
Answer please and hurry up
arrow_forward
Instructions
This is a ‘scenario problem’. Read the information and answer the questions. Your answers must be concise, focus on the question (an introduction isn’t needed), and include a short explanation. ANSWERS OF ESSAY LENGTH ARE NOT REQUIRED. You will need to include some explanation as part of your answers. References should be included both in text (Harvard referencing system) and as a reference list at the end. An exemplar based on last year’s scenario is available on Moodle to guide you on the level of detail expected for this assessment.
Please note that these questions are not equally weighted, and it is likely that answers to some will be a bit longer than others. Because of this, your mark will be based on your overall response to all of the questions. This doesn’t mean you can ignore a question – you must attempt all questions.
Consider the following scenario:
A group of five treasure hunters have been hired to retrieve some artefacts believed to be in an abandoned…
arrow_forward
Can you please help me with these 2 questions? :)
arrow_forward
O School District of Palm
E Cindy Mejias - [Template x
Performance Matters | C x
E Cindy Mejias - The Six K x
K Cindy Mejias-[Termplate x
* Course Hero
A olapalmbeach.performancematters.com/ola/ola.jsp?clientCode=flPalmBeach#
D SDPBC Bookmarks
Performance Matters
Welcome, Cindy Mejias!
Connection Status:
All
Question 3 of 18 -
Bio_U08_USA_FY21
Question: 1-3
A certain plant tissue, typically found in the stem and in the hard outer covering of seeds, contains very thick, rigid cells. Which of the following correctly identifies this tissue and its function?
meristem tissue; gamete formation
O vascular tissue; production of sugar
ground tissue; transportation of materials
O dermal tissue; protection against damage
Previous
Pause
O
Sign on
arrow_forward
a hardy-weinberg_worksheet (CompatiE
eferences
Mailings
Review
View
E v Ev E| EE | T
EEEE| E | v E v
- A Aa Ao
AaBbCcDdE AaBbCcD AaBbCcDdE
Normal
Title
No Spacing
|A Av
Start your free one month trial of Microsoft 365 or sign in to activate an existing subscription.
1. Ifp .25, then q must equal
2. In the Hardy-Weinberg formula, if p stands for the frequency of one allele, then q stands for what?
3. In a hypothetical population, 16% have sickle-cell anemia. The population is in Hardy-Weinberg
equilibrium. (sickle-cell anemia is recessive)
a. What is the frequency of the allele for sickle-cell anemia?
b. What is the frequency of the allele for normal hemoglobin?
c. What percentage of the population produces only normal hemoglobin?
d. What percentage of the population is heterozygous?
arrow_forward
9:33 AM Fri Jun 11
@ 1 100%
The_Farmer_and_the_Fly
Home
Insert
Draw
Layout
Review
View
Times New Roma
I
U
A..
A
READ ONLY - This is an older file format. To make changes, make a copy of the file in the new
format.
Upgrade a copy
THE FARMER AND THE FLY: PART I
Directions:
Read each part of the scenario
Determine a response for the problem which correlates to part of the scenario you
have just read.
Scenario part I.
A farmer was working with chickens at an agricultural research station. The population of
flies in the chicken house was so large that the health of the chickens was affected. So the
farmer decided to spray the chicken house and the chickens with a solution of insecticide,
Formula A. The insecticide worked well and killed nearly all of the flies.
Sometime later, however, the number of flies was again large. The farmer sprayed the
chicken house and the chickens with insecticide, Formula A again. Many of the flies were
killed, but not all.
Unfortunately, after a short time, the…
arrow_forward
In the chief complaint, it states that the patient had dyspnea after climbing one flight.Explain what this means?
arrow_forward
Can you please annotate the two images attached. Also send a picture of the parts where you annotated/highlighted please I would really appreciate it
I really need it is very important
arrow_forward
I attached the pdf. This is not a graded assignment
Problem or problems the researchers study in the article
The reasoning behind the study, why.
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Biochemistry
Biochemistry
ISBN:9781305577206
Author:Reginald H. Garrett, Charles M. Grisham
Publisher:Cengage Learning
Case Studies In Health Information Management
Biology
ISBN:9781337676908
Author:SCHNERING
Publisher:Cengage
Essentials Health Info Management Principles/Prac...
Health & Nutrition
ISBN:9780357191651
Author:Bowie
Publisher:Cengage
Related Questions
- Please help me!arrow_forwardPlease help a bit confused, I have attached the questions and fill in boxarrow_forwardm/secured#lockdown = M My Old Gmail My main Google D... Hedy Lamarr, the Inventor Google Docs - My... Nursing Schools ..... Hedy Lamarr was a woman of many talents. She was first known as a European film actress in the 1930s. She began starring in American films with MGM Studios in the late 1930s and early 1940s. Some of her more popular films included Boom Town (1940) and White Cargo (1942); however, her roles generally did not include very many spoken lines and she became bored. To relieve this boredom, Lamarr took up inventing. . Hedy Lamarr did not have any formal training, but she did not allow that to stop her from teaching herself in her spare time. Although she had a number of failed inventions, such as an improved traffic light and a carbonated drink, Lamarr did not stop coming up with ideas. She even spent time working with the science engineering team employed by Howard Hughes, the aviation tycoon. During World War II, Lamarr learned that one of the military's new…arrow_forward
- AutoSave Document1 - Compatibility Mode - Word Search 困 Of steve M SM File Home Insert Draw Design Layout References Mailings Review View Help E Share O Comments 21. What happens to sodium channels and potassium channels during repolarization of a neuron? A. both potassium channels and sodium channels remain closed B. the sodium channels close, followed by opening of the potassium channels C. both sodium channels and potassium channels remain closed D. the sodium channels open, but the potassium channels remain closed E. both potassium channels and sodium channels remain open 22. The above repolarization of a neuron will result in which of the following ionic currents? A. a potassium current will transport K+ ions out of the cytoplasm B. a sodium current will transport Na+ ions out of the cytoplasm C. a potassium current will transport K* ions into the cytoplasm D. a sodium current will transport Nat ions into the cytoplasm E. a sodium current will transport K* ions into the cytoplasm…arrow_forwardm/courses/40064/discussion topics/573131?module_item_id=1922680 TH200.W11_Fall 2024 > Discussions > Week 2: Discussion 2 Q Search entries or author... All Sort View Split Screen Expand Threads ments 1 You must post before seeing replies. Edit history will be available to instructors. ES Due Sep 1 11:59pm Available from Aug 26 until Sep 1 MI+ 0x CA อ L Finish update 10 points possible 1 Reply. 1 Unread x Week 2: Discussion 2 After reviewing the materials in this module and Chapter 1, you were introduced to the social determinants of health. You learned that there are actors that contrit What do we mean by the determinants of health? Think about your community and discuss at least two determinants of health. Please post your response in 1-2 paragraphs. A paragraph is 5-10 sentences. Reply Previous 11 Next▸ 84°F Sunny 4 10:42 AM 8/27/2024arrow_forwardPlease answer asap and type your answer and do not copy from anywhere pleasearrow_forward
- In the CPT, Surgery is the largest section for category I codes. Its code range is from 10000 to 69990 and each subsection within Surgery is divided based on body systems, since we can have surgical procedures from head to toe. As every other section of the CPT manual, the Surgery section has its own colored guidelines. For our third discussion, please answer the following questions in your initial post: When are the new guidelines in the coding manuals published and when do they become effective? What would happen if we do not adhere to these?arrow_forwardnot writing assignment!!!!!!!!! could you make powerpoint presentation subtopics for Fluorescent Protein-Based Biosensors and Their Clinical Applications example of what i want is below - just follow the format no need to do it i just need a format for the topicarrow_forwardX w ASSIGNMENT Define each term X Os://onedrive.live.com/edit.aspx?resid=40F4BEB72DD81FC21540&ithint=file%2cdocx&ct=1694280480854&wdOrigin=OFFICECOM-WEB.START.UPLOAD&wd tword - Search X T Define each term listed and give an example (2) Layout References Review View Help Table Design Table Layout Calibri (Body) B I U abx, x² Aa 126 words V 12 V Font Word | Microsoft 365 Name: A A Po 5-16-17-3 A. NDQ Deficient 1. 2. 3. EEEEE Oxygenation Search (Alt + Q) Paragraph English (US) Text Predictions: On Editor Suggestions Showing 1. 1. Define each term listed as the Nursing Diagnosis Qualifier (NDQ). 2. Provide three (3) Nursing Diagnosis Statements when an alteration occurs within the concepts of oxygenation, perfusion, fluid & electrolytes, tissue integrity, and thermoregulation. 2. ¶ 3. ¶ Perfusion Desktop 1 AaBbCe Normal D 1. 2. Word | Microsoft 365 3. AaBbCc No Spacing Fluid & Electrolytes 1. 2. 3. AaBbCc Heading 1 Styles New desktop xa gmail login mail - Search Tissue Integrity + AaBbcc…arrow_forward
- Question: The patient complained of pyrosis after heavy meals. Define this term?arrow_forwardAnswer please and hurry uparrow_forwardInstructions This is a ‘scenario problem’. Read the information and answer the questions. Your answers must be concise, focus on the question (an introduction isn’t needed), and include a short explanation. ANSWERS OF ESSAY LENGTH ARE NOT REQUIRED. You will need to include some explanation as part of your answers. References should be included both in text (Harvard referencing system) and as a reference list at the end. An exemplar based on last year’s scenario is available on Moodle to guide you on the level of detail expected for this assessment. Please note that these questions are not equally weighted, and it is likely that answers to some will be a bit longer than others. Because of this, your mark will be based on your overall response to all of the questions. This doesn’t mean you can ignore a question – you must attempt all questions. Consider the following scenario: A group of five treasure hunters have been hired to retrieve some artefacts believed to be in an abandoned…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- BiochemistryBiochemistryISBN:9781305577206Author:Reginald H. Garrett, Charles M. GrishamPublisher:Cengage LearningCase Studies In Health Information ManagementBiologyISBN:9781337676908Author:SCHNERINGPublisher:CengageEssentials Health Info Management Principles/Prac...Health & NutritionISBN:9780357191651Author:BowiePublisher:Cengage
Biochemistry
Biochemistry
ISBN:9781305577206
Author:Reginald H. Garrett, Charles M. Grisham
Publisher:Cengage Learning
Case Studies In Health Information Management
Biology
ISBN:9781337676908
Author:SCHNERING
Publisher:Cengage
Essentials Health Info Management Principles/Prac...
Health & Nutrition
ISBN:9780357191651
Author:Bowie
Publisher:Cengage