Skip to content

Commit

Permalink
fix usage of some reference files
Browse files Browse the repository at this point in the history
  • Loading branch information
maxulysse committed May 29, 2024
1 parent 48cb638 commit 9040aa0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
12 changes: 3 additions & 9 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,13 @@ nextflow.enable.dsl = 2
GENOME PARAMETER VALUES
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/

params.fasta = getGenomeAttribute('fasta')
params.fasta_fai = getGenomeAttribute('fasta_fai')
params.dict = getGenomeAttribute('dict')
params.gene_bed = getGenomeAttribute('bed12')
params.gtf = getGenomeAttribute('gtf')
params.gff = getGenomeAttribute('gff')
params.exon_bed = getGenomeAttribute('exon_bed')
params.star_index = getGenomeAttribute('star')
params.dbsnp = getGenomeAttribute('dbsnp')
params.dbsnp_tbi = getGenomeAttribute('dbsnp_tbi')
params.known_indels = getGenomeAttribute('known_indels')
params.known_indels_tbi = getGenomeAttribute('known_indels_tbi')
params.snpeff_db = getGenomeAttribute('snpeff_db')
params.snpeff_genome = getGenomeAttribute('snpeff_genome')
params.star_index = getGenomeAttribute('star')
params.vep_cache_version = getGenomeAttribute('vep_cache_version')
params.vep_genome = getGenomeAttribute('vep_genome')
params.vep_species = getGenomeAttribute('vep_species')
Expand Down
9 changes: 9 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ params {
save_merged_fastq = false
feature_type = 'exon'

dbsnp = null
dbsnp_tbi = null
dict = null
exon_bed = null
fasta_fai = null
gff = null
known_indels = null
known_indels_tbi = null

// Sequence read information
read_length = 150 // Required for STAR to build index and align reads

Expand Down
4 changes: 4 additions & 0 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@
"description": "Path to GFF3 annotation file.",
"help_text": "This parameter must be specified if `--genome` or `--gtf` are not specified."
},
"gene_bed": {
"type": "string",
"description": "Path to BED file containing gene intervals. This will be created from the GTF file if not specified."
},
"exon_bed": {
"type": "string",
"description": "Path to BED file containing exon intervals. This will be created from the GTF file if not specified."
Expand Down

0 comments on commit 9040aa0

Please sign in to comment.