Starting out without cargo, instead just using rustc to compile simple source code. This is already much nicer for this stage, as it makes stashing these outputs much simpler and keeps git cleaner.
Covering concepts such as:
- Macros
- Assert statement
- Loops and conditionals
- Mutability and data types (implicit assignment and explicit casting)
- Pass-by-reference and dereferencing
- Imports and using the
rustup doccommand - Arrays and slices, and unwrapping
Optiontypes - Vectors, iterators, and windows/chunks
- Strings
- Parsing command line arguments
- File operations
For the sake of file reading, the file I am reading is generated by:
echo ">seq_1" > test_file.fna
echo "ATCGATCGATCGATCG" >> test_file.fna
echo ">seq_2" >> test_file.fna
echo "TTGGCCAANNAATTCC" >> test_file.fnaFin.