Make reference
Build a transcriptomics reference into one of many formats
Info
ID: make_reference
Namespace: workflows/ingestion
Links
Example commands
You can run the pipeline using nextflow run
.
View help
You can use --help
as a parameter to get an overview of the possible parameters.
nextflow run openpipelines-bio/openpipeline \
-r 1.0.1 -latest \
-main-script target/nextflow/workflows/ingestion/make_reference/main.nf \
--help
Run command
Example of params.yaml
# Inputs
id: # please fill in - example: "foo"
genome_fasta: # please fill in - example: "https://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_41/GRCh38.primary_assembly.genome.fa.gz"
transcriptome_gtf: # please fill in - example: "https://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_41/gencode.v41.annotation.gtf.gz"
# ercc: "https://assets.thermofisher.com/TFS-Assets/LSG/manuals/ERCC92.zip"
# Outputs
target: ["star"]
# output_fasta: "$id.$key.output_fasta.gz"
# output_gtf: "$id.$key.output_gtf.gz"
# output_cellranger: "$id.$key.output_cellranger.gz"
# output_bd_rhapsody: "$id.$key.output_bd_rhapsody.gz"
# output_star: "$id.$key.output_star.gz"
# Arguments
# subset_regex: "(ERCC-00002|chr1)"
# Nextflow input-output arguments
publish_dir: # please fill in - example: "output/"
# param_list: "my_params.yaml"
nextflow run openpipelines-bio/openpipeline \
-r 1.0.1 -latest \
-profile docker \
-main-script target/nextflow/workflows/ingestion/make_reference/main.nf \
-params-file params.yaml
Note
Replace -profile docker
with -profile podman
or -profile singularity
depending on the desired backend.
Argument groups
Inputs
Name | Description | Attributes |
---|---|---|
--id |
ID of the reference. | string , required, example: "foo" |
--genome_fasta |
Reference genome fasta. | file , required, example: "https:/ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_41/GRCh38.primary_assembly.genome.fa.gz" |
--transcriptome_gtf |
Reference transcriptome annotation. | file , required, example: "https:/ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_41/gencode.v41.annotation.gtf.gz" |
--ercc |
ERCC sequence and annotation file. | file , example: "https:/assets.thermofisher.com/TFS-Assets/LSG/manuals/ERCC92.zip" |
Outputs
Name | Description | Attributes |
---|---|---|
--target |
Which reference indices to generate. | List of string , default: "star" , multiple_sep: ";" |
--output_fasta |
Output genome sequence fasta. | file , example: "genome_sequence.fa.gz" |
--output_gtf |
Output transcriptome annotation gtf. | file , example: "transcriptome_annotation.gtf.gz" |
--output_cellranger |
Output index | file , example: "cellranger_index.tar.gz" |
--output_bd_rhapsody |
Output index | file , example: "bdrhap_index.tar.gz" |
--output_star |
Output index | file , example: "star_index.tar.gz" |
Arguments
Name | Description | Attributes |
---|---|---|
--subset_regex |
Will subset the reference chromosomes using the given regex. | string , example: "(ERCC-00002|chr1)" |