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
* updating muts of int to include nucletoide differences in addition to aa differences with help from @samcwiley
* add missing aa logic back in
* updating to obtain partial codon info as well
* Some refactoring ideas
* updating seq same length logic to match seqs aligned logic
* adding amino acid "X" handling
* created a hamming distance package that measures hamm dist of all of the seqs within a fasta
* creating a package that compares all of the seqs within a fasta file and give the positions and nucleotide diffs btw them all
* updating documentation
* adding in tail handlilng logic
* updating docs
* start containerization
* improving Dockerfile
* update docker compose
* init GitHub Actions workflow for building binaries across multiple targets
* refactor GitHub Actions workflow to use OS matrix for builds and rust nightly
* bug
* bug
* Update GitHub Actions workflow to trigger on all branches except main
* bug
* Strip images to keep them small
* Use multi-stage build with latest nightly alpine image
* Add check_chemistry for Illumina and ONT to replace python scripts in MIRA-NF (#13)
Adds module for argument parsing/handling and selecting proper configuration filepaths and IRMA modules.
---------
Co-authored-by: Sam Wiley <dzw2@cdp-client-02.biotech.cdc.gov>
* add check_chemistry
* tweaking files for docker
* updating output
* changed package name
* adding documentation for adding a package to the workspace
* Updating docs
* updating docs
* restructing readme situation
* fix picture
* fixing link and finishing up
* fix link
* link test
* fix link
* fix typo
* fix pic
* fix format
* arguments and subplots per segment
* subplots and variant data
* Add consistent color generation for segment names in plots
* read flow Sankey diagram
* Refactor subplot layout and enhance annotations for segment names in coverage plots
* Update .gitignore to exclude lock files
* Fix typo in README and update package addition steps for clarity
* adding mutation_of_interest package
* compress logic and sest up structs for Serde
* Reading in info with serde and structs
* Remove some clones
* removing lock file and adding to .gitignore
* Updating docs
* updating docs
* restructing readme situation
* fix pic
* fix format
* update documentation
* typo fixes and adding output structure
* fix header size
* created a hamming distance package that measures hamm dist of all of the seqs within a fasta
* creating a package that compares all of the seqs within a fasta file and give the positions and nucleotide diffs btw them all
* updating documentation
* Some refactoring ideas
* updating seq same length logic to match seqs aligned logic
* adding in tail handlilng logic
* updating docs
* init GitHub Actions workflow for building binaries across multiple targets
* refactor GitHub Actions workflow to use OS matrix for builds and rust nightly
* bug
* bug
* Update GitHub Actions workflow to trigger on all branches except main
* bug
* Update .gitignore to exclude all lock files recursively
* Refactor plot coverage segment function to remove unused variable and simplify fallback formulas
* mira-oxide logo
* smaller logo
* Update Cargo.toml and main.rs: comment out file count increment and enhance filename formatting for Sankey plot
* Enhance Sankey plot: add hover templates and update title for clarity
* Update Cargo.toml and main.rs: switch plotly dependency to Git; enhance argument help descriptions; explicit node x,y
* Remove unused Label import from plotly common
* Update plotly dependency to use Git repository
* Remove mutations_of_interest_table package and update workspace members
* merge cleanup -- plots working
* update docs
* tweaking package to include subtype as a filter when filtering variants of interest (#24)
---------
Co-authored-by: Samuel Shepard <vfn4@cdc.gov>
Co-authored-by: Ben Rambo-Martin <nbx0@cdc.gov>
Co-authored-by: Ben Rambo-Martin <39743838+nbx0@users.noreply.github.com>
Co-authored-by: Samuel Wiley <26017589+samcwiley@users.noreply.github.com>
Co-authored-by: Sam Wiley <dzw2@cdp-client-02.biotech.cdc.gov>
**General disclaimer** This repository was created for use by CDC programs to collaborate on public health related projects in support of the [CDC mission](https://www.cdc.gov/about/cdc/#cdc_about_cio_mission-our-mission). GitHub is not hosted by the CDC, but is a third party website used by CDC and its partners to share information and collaborate on software. CDC use of GitHub does not imply an endorsement of any one particular service, product, or enterprise.
4
5
@@ -12,7 +13,7 @@ The material embodied in this software is provided to you "as-is" and without wa
12
13
13
14
MIRA-Oxide is a RUST workspace that is utilized by [MIRA-NF](https://github.com/CDCgov/MIRA-NF) to perform assembly and annotation of Influenza genomes, SARS-CoV-2 genomes, the SARS-CoV-2 spike-gene and RSV genomes.
14
15
15
-
## Adding New Package to the MIRA-Oxide Worksace
16
+
## Adding New Package to the MIRA-Oxide Workspace
16
17
17
18
Before starting be sure that you have rust nightly installed and set as default. You will also need to have Cargo installed. If you need more information about how to install those, [see here](https://rust-book.cs.brown.edu/ch01-00-getting-started.html).
Mira-oxide requires rust-nightly to run the [zoe](https://github.com/CDCgov/zoe) crate.
42
+
43
+
Install the nightly version of rust.
44
+
45
+
```
46
+
rustup toolchain install nightly
47
+
```
48
+
Using nightly for mira-oxide
49
+
50
+
```
51
+
rustup override set nightly
52
+
```
53
+
54
+
### Step 4
40
55
Create a new package using Cargo
41
56
42
57
```
@@ -46,6 +61,15 @@ cargo new new_package_name
46
61
A folder with a the name that you specified should have been created. Inside that folder there should be a Cargo.toml file and a src folder containing a main.rs file.
47
62
48
63
### Step 4
64
+
Create a new package using Cargo
65
+
66
+
```
67
+
cargo new new_package_name
68
+
```
69
+
70
+
A folder with a the name that you specified should have been created. Inside that folder there should be a Cargo.toml file and a src folder containing a main.rs file.
71
+
72
+
### Step 5
49
73
50
74
Start Working!
51
75
@@ -59,7 +83,7 @@ cd new_package_name
59
83
60
84
Add your dependencies to the package's Cargo.toml and start editing your src/main.rs
61
85
62
-
### Step 5
86
+
### Step 6
63
87
64
88
Run your program!
65
89
@@ -69,16 +93,18 @@ To be sure that your package is working within the workspace go the workspace ar
69
93
cargo run -p new_package_name -- #any inputs needed to run your package
70
94
```
71
95
72
-
### Step 6
96
+
### Step 7
73
97
74
98
Provide usage documentation.
75
99
76
-
Create a README.md witin your package folder. Within that README provide a descritpion of the package, it's inputs, it's outputs and how to execute the package.
100
+
Create a README.md within your package folder. Within that README provide a description of the package, it's inputs, it's outputs and how to execute the package.
77
101
78
102
For additional information on rust workspaces, [see here](https://rust-book.cs.brown.edu/ch14-03-cargo-workspaces.html).
The all_sample_nt_diffs package takes a fasta file containing all your samples of interest after they have been aligned as an input. The outputs is a hamming distance matrix that provides the hamming distance between all of the sequences within the fasta file provided.
0 commit comments