-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3100 from smehringer/wv-doc-tutorials
[DOC] Rework tutorial 'First Steps with SeqAn'.
- Loading branch information
Showing
13 changed files
with
90 additions
and
229 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
doc/tutorial/01_introduction/introduction_argument_parser.cpp
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
doc/tutorial/01_introduction/introduction_argument_parser.out
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//! [debug] | ||
#include <iostream> // for std::cerr | ||
#include <vector> // for std::vector | ||
|
||
#include <seqan3/alphabet/all.hpp> // for all alphabet-related stuff | ||
#include <seqan3/alphabet/nucleotide/dna4.hpp> // for only dna4 | ||
#include <seqan3/core/debug_stream.hpp> // for debug_stream | ||
|
||
int main() | ||
{ | ||
std::vector<seqan3::dna4> vec{seqan3::assign_char_to('A', seqan3::dna4{}), | ||
seqan3::assign_char_to('C', seqan3::dna4{}), | ||
seqan3::assign_char_to('G', seqan3::dna4{}), | ||
seqan3::assign_char_to('T', seqan3::dna4{})}; | ||
// The above is a little cumbersome because we don't allow implicit conversions between our alphabets and `char`. | ||
// There is a more convenient way: | ||
using namespace seqan3::literals; // Lets you use operator ""_dna4 among others | ||
auto vec2 = "ACGT"_dna4; | ||
|
||
seqan3::debug_stream << vec << '\n'; // => ACGT | ||
seqan3::debug_stream << vec2 << '\n'; // => ACGT | ||
} | ||
//! [debug] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ACGT | ||
ACGT |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7fe6a89
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
seqan3 – ./
seqan3.vercel.app
seqan3-seqan.vercel.app
seqan3-git-master-seqan.vercel.app