Skip to content

Commit

Permalink
Decreased size of results folder
Browse files Browse the repository at this point in the history
  • Loading branch information
FernandoDuarteF committed Dec 2, 2024
1 parent 20bb70f commit 6385ae8
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 13 deletions.
50 changes: 38 additions & 12 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,12 @@ process {
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]

withName: FASTQC {
ext.args = '--quiet'
}

withName: 'NCBIGENOMEDOWNLOAD' {
ext.args = "--format fasta,gff -N"
publishDir = [
path: { "${params.outdir}/ncbigenomedownload" },
mode: params.publish_dir_mode,
enabled: params.save_assembly,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}
Expand All @@ -36,11 +33,39 @@ process {
publishDir = [
path: { "${params.outdir}/gffread" },
mode: params.publish_dir_mode,
enabled: params.save_extracted_seqs,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: 'PIGZ_UNCOMPRESS' {
publishDir = [
path: { "${params.outdir}/agat" },
mode: params.publish_dir_mode,
enabled: false,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}


withName: 'AGAT_SPSTATISTICS' {
publishDir = [
path: { "${params.outdir}/agat" },
mode: params.publish_dir_mode,
//pattern: '*.txt'
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: 'AGAT_CONVERTSPGXF2GXF' {
publishDir = [
path: { "${params.outdir}/agat" },
mode: params.publish_dir_mode,
enabled: params.save_validated_annotation,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: 'FASTAVALIDATOR' {
publishDir = [
path: { "${params.outdir}/fastavalidator" },
Expand All @@ -53,6 +78,7 @@ process {
publishDir = [
path: { "${params.outdir}/orthofinder" },
mode: params.publish_dir_mode,
enabled: params.save_orthofinder_results,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}
Expand All @@ -61,6 +87,7 @@ process {
publishDir = [
path: { "${params.outdir}/busco" },
mode: params.publish_dir_mode,
pattern: '*.txt',
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}
Expand Down Expand Up @@ -89,6 +116,12 @@ process {

withName: 'SORT_BY_LENGTH' {
ext.prefix = { "${meta.id}_sorted" }
publishDir = [
path: { "${params.outdir}/tidk_explore" },
mode: params.publish_dir_mode,
enabled: params.save_sorted_seqs,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: 'TIDK_EXPLORE' {
Expand All @@ -113,6 +146,7 @@ process {
publishDir = [
path: { "$params.outdir/output_data/longest" },
mode: params.publish_dir_mode,
enabled: params.save_longest_isoform,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}
Expand All @@ -125,14 +159,6 @@ process {
]
}

withName: 'LONGEST' {
publishDir = [
path: { "${params.outdir}/longest_isoform" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: 'GENE_OVERLAPS' {
publishDir = [
path: { "${params.outdir}/gene_overlaps" },
Expand Down
19 changes: 18 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,30 @@ params {
igenomes_base = null
igenomes_ignore = false

// tidk skip
// tidk options
skip_tidk = false

// seqkit options
save_sorted_seqs = false

// Genome only option
genome_only = null

// AGAT options
save_validated_annotation = false

// ncbigenomedownload options
groups = 'all'
save_assembly = false

// GFFREAD options
save_extracted_seqs = false

// orthofinder options
save_orthofinder_results = false

// Longest options
save_longest_isoform = false

// merqury/meryl options
run_merqury = false
Expand Down

0 comments on commit 6385ae8

Please sign in to comment.