-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to --amrfinder output preparing for new AMRFinderPlus release
- Loading branch information
Showing
8 changed files
with
133 additions
and
29 deletions.
There are no files selected for viewing
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,70 @@ | ||
name: Bioconda | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '30 10 * * *' # | ||
repository_dispatch: | ||
types: [linux-bioconda-test, install-test] | ||
jobs: | ||
x86_linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: When was this run | ||
run: date | ||
- name: configure conda | ||
run: | | ||
. $CONDA/bin/activate | ||
conda config --add channels defaults | ||
conda config --add channels bioconda | ||
conda config --add channels conda-forge | ||
- name: install StxTyper | ||
run: | | ||
. $CONDA/bin/activate | ||
conda install --update-deps -c conda-forge -c bioconda --strict-channel-priority -y ncbi-stxtyper | ||
stxtyper --version | ||
- name: download tests | ||
run: | | ||
BASE_URL=https://raw.githubusercontent.com/${GITHUB_REPOSITORY}/master | ||
curl --silent --location -O ${BASE_URL}/test_stxtyper.sh | ||
- name: run tests | ||
run: | | ||
source /usr/share/miniconda/bin/activate | ||
echo CONDA_PREFIX = $CONDA_PREFIX | ||
bash ./test_stxtyper.sh path | ||
x86_mac: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Install conda b/c built-in conda was borked | ||
run: | | ||
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh | ||
bash ./Miniconda3-latest-MacOSX-x86_64.sh -b -p /Users/runner/miniconda3 | ||
- name: Configure conda | ||
run: | | ||
source /Users/runner/miniconda3/bin/activate | ||
conda init | ||
# THIS DOESN"T WORK! Just install miniconda myself | ||
# . $CONDA/bin/activate | ||
conda config --add channels defaults | ||
conda config --add channels bioconda | ||
conda config --add channels conda-forge | ||
# permissions are messed up on the mac runner | ||
# Is this faster than installing miniconda myself? | ||
# sudo chown -R 501:20 $CONDA | ||
conda update conda | ||
- name: Install StxTyper | ||
run: | | ||
source /Users/runner/miniconda3/bin/activate | ||
conda install --update-deps -c bioconda -c conda-forge -y ncbi-stxtyper | ||
- name: Download tests | ||
run: | | ||
BASE_URL=https://raw.githubusercontent.com/${GITHUB_REPOSITORY}/master | ||
curl --silent --location -O ${BASE_URL}/test_stxtyper.sh | ||
- name: Run tests | ||
run: | | ||
source /Users/runner/miniconda3/bin/activate | ||
echo CONDA_PREFIX = $CONDA_PREFIX | ||
bash ./test_stxtyper.sh path | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
StxTyper is used to determine stx type from nucleotide sequence. Stx (Shiga-toxin) genes are found in some strains of _Escherichia coli_ and code for powerful toxins that can cause severe illness. StxTyper is software to classify these genes from assembled sequence using a standard algorithm. | ||
|
||
## WARNING: This is currently beta software and changes and new releases may come quickly. Please report any issues or comments to [email protected] or open an issue on GitHub. | ||
|
||
# Installation | ||
|
||
## Installing with Bioconda | ||
|
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,30 @@ | ||
// AMRFinderPlus column names | ||
// PD-5085 | ||
|
||
constexpr const char* prot_colName = "Protein id"; // PD-2534 | ||
constexpr const char* contig_colName = "Contig id"; | ||
// Target | ||
constexpr const char* start_colName = "Start"; | ||
constexpr const char* stop_colName = "Stop"; | ||
constexpr const char* strand_colName = "Strand"; | ||
// | ||
constexpr const char* genesymbol_colName = "Element symbol"; // PD-4924 | ||
constexpr const char* elemName_colName = "Element name"; // PD-4910 | ||
constexpr const char* scope_colName = "Scope"; // PD-2825 | ||
// PD-1856 | ||
constexpr const char* type_colName = "Type"; | ||
constexpr const char* subtype_colName = "Subtype"; | ||
constexpr const char* class_colName = "Class"; | ||
constexpr const char* subclass_colName = "Subclass"; | ||
// | ||
constexpr const char* method_colName = "Method"; | ||
constexpr const char* targetLen_colName = "Element length"; // was: "Target length" ?? | ||
constexpr const char* refLen_colName = "Reference sequence length"; | ||
constexpr const char* refCov_colName = "% Coverage of reference"; | ||
constexpr const char* refIdent_colName = "% Identity to reference"; | ||
constexpr const char* alignLen_colName = "Alignment length"; | ||
constexpr const char* closestRefAccession_colName = "Closest reference accession"; | ||
constexpr const char* closestRefName_colName = "Closest reference name"; | ||
constexpr const char* hmmAccession_colName = "HMM accession"; | ||
constexpr const char* hmmDescr_colName = "HMM description"; | ||
constexpr const char* hierarchyNode_colName = "Hierarchy node"; |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.0.24 | ||
1.0.25 |