-
Notifications
You must be signed in to change notification settings - Fork 7
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 #248 from UPHL-BioNGS/adding_meningotype
Adding meningotype
- Loading branch information
Showing
100 changed files
with
3,157 additions
and
1,780 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
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Test Grandeur workflow with Neisseria meningitidis | ||
|
||
on: [pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
|
||
test: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Clean up Disk space | ||
uses: jlumbroso/free-disk-space@main | ||
|
||
- name: Install Nextflow | ||
run: | | ||
wget -qO- get.nextflow.io | bash | ||
sudo mv nextflow /usr/local/bin/ | ||
nextflow -version | ||
- name: Run Grandeur | ||
run: | | ||
docker --version | ||
mkdir fastas | ||
for accession in GCA_022869645.1_ASM2286964v1 | ||
do | ||
all=$(echo $accession | cut -f 2 -d "_") | ||
fir=$(echo $all | cut -c 1-3) | ||
mid=$(echo $all | cut -c 4-6) | ||
end=$(echo $all | cut -c 7-9) | ||
wget https://ftp.ncbi.nlm.nih.gov/genomes/all/GCA/${fir}/${mid}/${end}/${accession}/${accession}_genomic.fna.gz | ||
gzip -d ${accession}_genomic.fna.gz | ||
mv ${accession}_genomic.fna fastas/. | ||
done | ||
nextflow run . -profile docker -c .github/workflows/github_actions.config --fastas fastas --publish_dir_mode link | ||
cat grandeur/grandeur_summary.tsv | ||
cat grandeur/summary/software_versions.yml | ||
ls grandeur/multiqc/multiqc_report.html | ||
- name: Check Neisseria file | ||
run: | | ||
for file in grandeur/meningotype/meningotype_summary.tsv | ||
do | ||
head $file | ||
wc -l $file | ||
done | ||
- name: tree | ||
run: tree grandeur* |
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
Oops, something went wrong.