mcelrjo / AgInformatics

Python Programming for Applied Sciences

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documents and Problem Sets for CSES 7960 - AgInformatics: Python Programming for the Applied Sciences

Developed by Dr. Scott McElroy, Professor, Department of Crop, Soil, and Environmental Sciences at Auburn University with contributions from Dr. Nathan Hall, PhD

The class SYLLABUS is available. Please take a look. I suggest one of two books for the class The Self-Taught Programmer is a great starter but it is in Python 3 and the class is primarily Python 2 (class will change in near future). Second is Python for Informatics which is a good general starter text and it is written for Python 2 (at least the version I have is). The most important resource is Google. Can't find an answer? -- Google it. Didn't find an answer after Googling it? -- Google it a different way.

Sections:

Week 1: Introduction to BASH

  1. Introduction to the Command Line and BASH

  2. BASH Functions

  3. The basics of BASH scripting

Week 2: Introduction to Python

  1. Variables, Objects, and Mathematical Operations

  2. Conditional Statements and Iteration (Loops)

    Week 2 Assignment: Calculating the nth prime number

Week 3

  1. Functions

    Side note: Programming Tips

    Week 3 Assignment: Guessing Game: Search Algorithms

Week 4

  1. Try/Except Statements

  2. Opening Files

    Week 4 Assignment: Hangman Problem, Word List

Week 5

  1. Introduction to Pandas

  2. Plotting with Pylab

    Week 5 Assignment: Count Letters in a String

    Use your solution: Use your program to count nucleotides in this string. Email me your figure and final count.

Week 6

  1. Object Oriented Programming I

    Week 5 and 6 Assignment: The Crop Object

Week 7

  1. Object Oriented Programming II

Week 8

  1. Regular Expressions

Week 7 Assignment: Search and Return

You will need these files: FASTA and Trinotate

Week 9

  1. Os, Sys, and Argparse Modules

  2. Executing Functions in the Command line

    Week 9 Assignment: Extend the Gutenberg Project to take command line arguments and object oriented programming. Write the output figure to a new file.

Week 10

  1. Git and Github

    Week 10 Final Project: Final Project

Additional links and resources:

  1. The Self-Taught Programmer

  2. Python for Informatics

  3. I highly recommend this for learning git: Codecademy Learn Git. It has a fee but it is well worth it.

Terminology:

Iteration, abstraction, dot notation, decomposition, inheritance, instantiation,

About

Python Programming for Applied Sciences


Languages

Language:Python 90.7%Language:Jupyter Notebook 9.3%