-
Notifications
You must be signed in to change notification settings - Fork 34
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 #334 from mapo9/trust4
unselected RNA-seq based workflow
- Loading branch information
Showing
18 changed files
with
605 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* ------------------------------------------------- | ||
* Nextflow config file for running tests | ||
* ------------------------------------------------- | ||
* Defines bundled input files and everything required | ||
* to run a fast and simple test. Use as follows: | ||
* nextflow run nf-core/airrflow -profile test_rnaseq_bulk,<docker/singularity> | ||
*/ | ||
|
||
params { | ||
config_profile_name = 'Test bulk RNA-seq based workflow using TRUST4' | ||
config_profile_description = 'Minimal test dataset to check pipeline function with raw bulk RNA-seq data' | ||
|
||
// Limit resources so that this can run on GitHub Actions | ||
max_cpus = 2 | ||
max_memory = 6.GB | ||
max_time = 48.h | ||
|
||
// params | ||
mode = 'fastq' | ||
library_generation_method = 'trust4' | ||
clonal_threshold = 0 | ||
|
||
// Input data | ||
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/airrflow/testdata-rnaseq/rnaseq_metadata.tsv' | ||
} |
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 @@ | ||
/* | ||
* ------------------------------------------------- | ||
* Nextflow config file for running tests | ||
* ------------------------------------------------- | ||
* Defines bundled input files and everything required | ||
* to run a fast and simple test. Use as follows: | ||
* nextflow run nf-core/airrflow -profile test_rnaseq_sc,<docker/singularity> | ||
*/ | ||
|
||
params { | ||
config_profile_name = 'Test single-cell RNA-seq based workflow using TRUST4' | ||
config_profile_description = 'Minimal test dataset to check pipeline function with raw single-cell RNA-seq data' | ||
|
||
// Limit resources so that this can run on GitHub Actions | ||
max_cpus = 2 | ||
max_memory = 6.GB | ||
max_time = 48.h | ||
|
||
// params | ||
mode = 'fastq' | ||
library_generation_method = 'trust4' | ||
clonal_threshold = 0 | ||
barcode_read = "R1" | ||
umi_read = "R1" | ||
read_format = "bc:0:15,um:16:27" | ||
skip_lineage = true | ||
|
||
// Input data | ||
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/airrflow/testdata-rnaseq/sc_rnaseq_metadata.tsv' | ||
} |
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,24 @@ | ||
process PREPARE_TRUST4_REFERENCE { | ||
tag "$meta.id" | ||
label 'process_medium' | ||
|
||
conda "bioconda::trust4=1.0.13" | ||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? | ||
'https://depot.galaxyproject.org/singularity/trust4:1.0.13--h43eeafb_0': | ||
'biocontainers/trust4:1.0.13--h43eeafb_0' }" | ||
|
||
input: | ||
tuple val(meta), path(R1), path(R2) | ||
path(reference_igblast) | ||
|
||
output: | ||
tuple val(meta), path("trust4_reference.fa") , emit: trust4_reference | ||
|
||
script: | ||
""" | ||
cat ${reference_igblast}/fasta/imgt_${meta.species.toLowerCase()}_*.fasta \\ | ||
${reference_igblast}/fasta/imgt_${meta.species.toLowerCase()}_*.fasta >> trust4_reference.fa | ||
""" | ||
|
||
|
||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.