You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _episodes/01-intro.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,7 @@ o
137
137
>
138
138
> Count the number of Gs in the sequence above using a `for` loop. What is the difference between Python (see above) and R (in solution below) implementations?
There are a lot of blogs and articles comparing R and Python. Many of these comparisons (like this [infographic](https://www.datacamp.com/community/tutorials/r-or-python-for-data-analysis#gs.3P0PoiY)) do not tell you which is "better". That's because this is up to you. It really depends on what you're trying to do. Typically for a lot of bioinformatics projects, you will find yourself needing to know both. This is simply because many of the very useful tools for working with biological data are written in a variety of languages. Thus, it is up to the researcher to interact with them and develop cohesive pipelines for data curation and analysis.
@@ -187,8 +187,8 @@ You can run python in various tools. Perhaps the most straightforward is to use
187
187
$ python
188
188
```
189
189
~~~
190
-
Python 3.7.3 (default, Mar 27 2019, 16:54:48)
191
-
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
190
+
Python 3.8.5 (default, Sep 4 2020, 02:22:02)
191
+
[Clang 10.0.0 ] :: Anaconda, Inc. on darwin
192
192
Type "help", "copyright", "credits" or "license" for more information.
193
193
>>>
194
194
~~~
@@ -253,21 +253,21 @@ HELLO
253
253
254
254
### Python on the Cluster
255
255
256
-
Our HPC systems do not use the Anaconda install of Python. Additionally, the default versions of Python that is available globally is Python 2.7. Thus, if you would like to use HPC-Class to interact with Python, you will have to load the Python 3 module after logging on to the cluster (`ssh <ISU Net ID>@hpc-class.its.iastate.edu`).
256
+
Our HPC systems do not use the Anaconda install of Python. Additionally, the default versions of Python that is available globally is Python 2.7. Thus, if you would like to use HPC-Class to interact with Python, it is recommended that you load the Python 3 module after logging on to the cluster (`ssh <ISU Net ID>@hpc-class.its.iastate.edu`).
257
257
258
258
```
259
-
$ module load python/3.6.5-fwk5uaj
259
+
$ module load python
260
260
```
261
261
262
262
Once you have loaded the Python 3 module, you can open the `python3` interpreter:
263
263
264
264
```
265
-
$ python3
265
+
$ python
266
266
```
267
267
268
268
~~~
269
-
Python 3.6.5 (default, May 29 2018, 16:28:47)
270
-
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux
269
+
Python 3.7.7 (default, Jun 15 2020, 12:59:09)
270
+
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux
271
271
Type "help", "copyright", "credits" or "license" for more information.
272
272
>>>
273
273
~~~
@@ -339,8 +339,8 @@ Each cell in a Jupyter notebook can be executed and you can choose the type of c
339
339
>
340
340
> Replicate one of the solutions give above in a Jupyter notebook. Add some Markdown text to describe your program.
Copy file name to clipboardExpand all lines: _episodes/02-datatypes.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,7 +179,7 @@ my_list = [0,1,2]
179
179
>
180
180
> Change the value of a single element in `my_list ` and `my_tuple`.
181
181
>
182
-
> > ## Solution: List
182
+
<!-- > > ## Solution: List
183
183
> >
184
184
> > ~~~
185
185
> > my_list[1] = 5
@@ -206,7 +206,7 @@ my_list = [0,1,2]
206
206
> >TypeError: 'tuple' object does not support item assignment
207
207
> > ~~~
208
208
> > {: .output}
209
-
> {: .solution}
209
+
> {: .solution} -->
210
210
{: .challenge}
211
211
212
212
### Assigning Elements of a List or Tuple to New Variables
@@ -393,7 +393,7 @@ for key in numbers2:
393
393
>
394
394
> Try to reassign the second value of `numbers2` (in the *key value pair*) so that it no longer reads "two" but instead reads "spam and eggs". What does your dictionary look like after you make this change?
Copy file name to clipboardExpand all lines: index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ root: .
5
5
6
6
# Welcome to the Python part of the BCB546 course!
7
7
8
-
The materials we will work through are a sample of the lessons created for [Data Carpentry](http://www.datacarpentry.org/python-ecology-lesson/00-short-introduction-to-Python/) and [Software Carpentry](http://swcarpentry.github.io/python-novice-inflammation).
8
+
The materials we will work through are a sample of the lessons created for [Data Carpentry](https://datacarpentry.org/python-ecology-lesson/) and [Software Carpentry](http://swcarpentry.github.io/python-novice-inflammation).
9
9
The goal of this section is to demonstrate the utility of Python for working with biological data.
10
10
11
11
## Why Python?
@@ -36,7 +36,7 @@ More details about the files we'll use and where to download them are available
36
36
{: .prereq}
37
37
38
38
### Getting Started
39
-
To get started with installing Python, follow the directions given in the [Python section of the course Software page](https://eeob-biodata.github.io/EEOB-BCB-546X/software#python).
39
+
To get started with installing Python, follow the directions given in the [Python section of the course Software page](https://eeob-biodata.github.io/EEOB-BCB-546/software#python).
40
40
In addition to installing Python on your own computer, you will also need to download the data files used in the tutorials. Details for doing this are found in the [Setup](setup/) page.
Or, you can pull from the [course repository](https://github.com/EEOB-BioData/BCB546X-Fall2019) and change to the directory containing the data files:
16
-
1.`cd BCB546X-Fall2019`
17
-
2.`git pull origin master`
15
+
Or, you can pull from the [course repository](https://github.com/EEOB-BioData/BCB546-Spring2021) and change to the directory containing the data files:
16
+
1.`cd BCB546-Spring2021`
17
+
2.`git pull origin main`
18
18
3.`cd course-files/python`
19
19
20
20
21
21
Or if you haven't yet cloned the course repository:
0 commit comments