-
Notifications
You must be signed in to change notification settings - Fork 3
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 #19 from maxulysse/dev
MERGE TEMPLATE
- Loading branch information
Showing
103 changed files
with
2,611 additions
and
737 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 @@ | ||
workflows/sarek/** @nf-core/sarek |
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,49 @@ | ||
name: Build reference genomes that changed | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "assets/genomes/*.yml" | ||
|
||
jobs: | ||
run-tower: | ||
name: Run AWS full tests | ||
if: github.repository == 'nf-core/nascent' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Find changed genomes | ||
id: changed-genome-files | ||
uses: tj-actions/changed-files@v42 | ||
with: | ||
files: | | ||
assets/genomes/*.yml | ||
- name: Concatinate all the yamls together | ||
if: steps.changed-files-specific.outputs.any_changed == 'true' | ||
env: | ||
CHANGED_FILES: ${{ steps.changed-files-specific.outputs.all_changed_files }} | ||
run: cat ${CHANGED_FILES} > samplesheet.yml | ||
# - name: Upload samplesheet.yml to s3 or Tower Datasets | ||
# run: TODO | ||
- name: Launch workflow via tower | ||
uses: seqeralabs/action-tower-launch@v2 | ||
with: | ||
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }} | ||
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }} | ||
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }} | ||
revision: ${{ github.sha }} | ||
workdir: s3://${{ secrets.AWS_S3_SCRATCH_BUCKET }}/work | ||
parameters: | | ||
{ | ||
"input": "samplesheet.yml" | ||
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}", | ||
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/nascent/results-${{ github.sha }}" | ||
} | ||
profiles: cloud | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: Tower debug log file | ||
path: | | ||
tower_action_*.log | ||
tower_action_*.json |
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 |
---|---|---|
|
@@ -6,3 +6,6 @@ results/ | |
testing/ | ||
testing* | ||
*.pyc | ||
.idea | ||
*.log | ||
tmp/ |
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,7 @@ | ||
# FIXME Some check this | ||
- genome: GRCh38.p14 | ||
fasta: https://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_45/GRCh38.primary_assembly.genome.fa.gz | ||
gtf: https://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_45/gencode.v45.chr_patch_hapl_scaff.annotation.gtf.gz | ||
mito_name: MT | ||
site: https://www.ncbi.nlm.nih.gov/datasets/genome/GCF_000001405.40 | ||
reference_version: GCF_000001405.40 |
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,6 @@ | ||
- genome: GRCm39 | ||
fasta: https://hgdownload.soe.ucsc.edu/goldenPath/mm39/bigZips/mm39.fa.gz | ||
gtf: https://hgdownload.soe.ucsc.edu/goldenPath/mm39/bigZips/genes/mm39.ncbiRefSeq.gtf.gz | ||
mito_name: MT | ||
site: https://www.ncbi.nlm.nih.gov/datasets/genome/GCF_000001635.27/ | ||
reference_version: GCF_000001635.27 |
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,5 @@ | ||
- genome: "CHM13" | ||
species: homo_sapiens | ||
source: ucsc | ||
fasta: "https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/009/914/755/GCF_009914755.1_T2T-CHM13v2.0/GCF_009914755.1_T2T-CHM13v2.0_genomic.fna.gz" | ||
gtf: "https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/009/914/755/GCF_009914755.1_T2T-CHM13v2.0/GCF_009914755.1_T2T-CHM13v2.0_genomic.gtf.gz" |
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,8 @@ | ||
- genome: hg19 | ||
species: homo_sapiens | ||
source: ucsc | ||
fasta: "s3://ngi-igenomes/igenomes/Homo_sapiens/UCSC/hg19/Sequence/WholeGenomeFasta/genome.fa" | ||
gtf: "s3://ngi-igenomes/igenomes/Homo_sapiens/UCSC/hg19/Annotation/Genes/genes.gtf" | ||
bed12: "s3://ngi-igenomes/igenomes/Homo_sapiens/UCSC/hg19/Annotation/Genes/genes.bed" | ||
mito_name: chrM | ||
macs_gsize: 2.7e9 |
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,8 @@ | ||
- genome: hg38 | ||
species: homo_sapiens | ||
source: ucsc | ||
fasta: "s3://ngi-igenomes/igenomes/Homo_sapiens/UCSC/hg38/Sequence/WholeGenomeFasta/genome.fa" | ||
gtf: "s3://ngi-igenomes/igenomes/Homo_sapiens/UCSC/hg38/Annotation/Genes/genes.gtf" | ||
bed12: "s3://ngi-igenomes/igenomes/Homo_sapiens/UCSC/hg38/Annotation/Genes/genes.bed" | ||
mito_name: chrM | ||
macs_gsize: 2.7e9 |
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,53 @@ | ||
- genome: R64-1-1 | ||
fasta: s3://ngi-igenomes/igenomes/Saccharomyces_cerevisiae/Ensembl/R64-1-1/Sequence/WholeGenomeFasta/genome.fa | ||
gtf: s3://ngi-igenomes/igenomes/Saccharomyces_cerevisiae/Ensembl/R64-1-1/Annotation/Genes/genes.gtf | ||
bed12: s3://ngi-igenomes/igenomes/Saccharomyces_cerevisiae/Ensembl/R64-1-1/Annotation/Genes/genes.bed | ||
mito_name: MT | ||
macs_gsize: 1.2e7 | ||
readme: s3://ngi-igenomes/igenomes/Saccharomyces_cerevisiae/Ensembl/R64-1-1/Annotation/README.txt | ||
# TODO | ||
# Required | ||
# reference_id: | ||
# type: string | ||
# default: R64-1-1 | ||
# reference_version: | ||
# type: string | ||
# default: '111' | ||
# created_at: | ||
# type: string | ||
# format: date | ||
# default: 2024-02-07 | ||
|
||
# # Source specific | ||
# source_type: | ||
# type: string | ||
# enum: | ||
# - ensembl | ||
# - ucsc | ||
# - ncbi | ||
# - gencode | ||
# - refseq | ||
# - encode | ||
# - custom | ||
|
||
# # OR Manually submitted | ||
# # Each optional, build what we can based on what is provided | ||
# fasta: | ||
# type: string | ||
# default: | ||
# gtf: | ||
# type: string | ||
# default: s3://ngi-igenomes/igenomes/Saccharomyces_cerevisiae/Ensembl/R64-1-1/Annotation/Genes/genes.gtf | ||
# bed12: | ||
# type: string | ||
# default: s3://ngi-igenomes/igenomes/Saccharomyces_cerevisiae/Ensembl/R64-1-1/Annotation/Genes/genes.bed | ||
# mito_name: | ||
# type: string | ||
# default: MT | ||
# macs_gsize: | ||
# type: string | ||
# default: 1.2e7 | ||
|
||
# # Markdown block? | ||
# description: | ||
# type: string |
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,5 @@ | ||
- genome: "GRCh38_chr21" | ||
fasta: "https://raw.githubusercontent.com/nf-core/test-datasets/nascent/reference/GRCh38_chr21.fa" | ||
gtf: "https://raw.githubusercontent.com/nf-core/test-datasets/nascent/reference/genes_chr21.gtf" | ||
mito_name: "MT" | ||
readme: "https://raw.githubusercontent.com/nf-core/test-datasets/nascent/README.md" |
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
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,16 @@ | ||
// README: | ||
// https://github.com/nf-core/test-datasets/blob/modules/README.md | ||
|
||
params { | ||
// Base directory for test data | ||
test_data_base = "https://raw.githubusercontent.com/nf-core/test-datasets/modules" | ||
|
||
test_data { | ||
'sarscov2' { | ||
'genome' { | ||
genome_fasta = "${params.test_data_base}/data/genomics/sarscov2/genome/genome.fasta" | ||
genome_gtf = "${params.test_data_base}/data/genomics/sarscov2/genome/genome.gtf" | ||
} | ||
} | ||
} | ||
} |
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,18 @@ | ||
# Brainstorming | ||
|
||
## Generate | ||
|
||
- md5 checksums (validate downloads if possible) | ||
|
||
## Track within the pipeline | ||
|
||
- software_versions | ||
- copy of command.sh (or just save Nextflow report?) | ||
- Asset input paths | ||
- Show skipped reference types if already existed | ||
- Allow appending to the readme (treat like changelog), in case new asset types added | ||
|
||
## Strategy | ||
|
||
When adding a new asset, build for the latest reference versions only. Do all genomes. | ||
Optionally backfill old releases on demand if specifically triggered. |
Oops, something went wrong.