Skill Tracer
Skills › Knowledge Work Plugins › nextflow-development › geo-sra-acquisition.md

geo-sra-acquisition.md

416 lines · bio-research/skills/nextflow-development/references/geo-sra-acquisition.md at 2574e29

Open on GitHub

Most marks come from matching words in the file, so treat them as pointers.

1# GEO/SRA Data Acquisition
2
3Download raw sequencing data from NCBI GEO/SRA and prepare it for nf-core pipelines.
4
5**Use this when:** Reanalyzing published datasets, validating findings, or comparing results against public cohorts.
6

GEO/SRA Data Acquisition

Download raw sequencing data from NCBI GEO/SRA and prepare it for nf-core pipelines.

Use this when: Reanalyzing published datasets, validating findings, or comparing results against public cohorts.

Raw lines 1 to 6
7## Table of Contents
8
9- [Workflow Overview](#workflow-overview)
10- [Step 1: Fetch Study Information](#step-1-fetch-study-information)
11- [Step 2: Review Sample Groups](#step-2-review-sample-groups)
12- [Step 3: Download FASTQ Files](#step-3-download-fastq-files)
13- [Step 4: Generate Samplesheet](#step-4-generate-samplesheet)
14- [Step 5: Run nf-core Pipeline](#step-5-run-nf-core-pipeline)
15- [Supported Pipelines](#supported-pipelines)
16- [Supported Organisms](#supported-organisms)
17- [Complete Example](#complete-example)
18- [Troubleshooting](#troubleshooting)
20---

Table of Contents

  • Workflow Overview
  • Step 1: Fetch Study Information
  • Step 2: Review Sample Groups
  • Step 3: Download FASTQ Files
  • Step 4: Generate Samplesheet
  • Step 5: Run nf-core Pipeline
  • Supported Pipelines
  • Supported Organisms
  • Complete Example
  • Troubleshooting

Raw lines 7 to 21
22## Workflow Overview
24Example: "Find differentially expressed genes in GSE309891 (drug-treated vs control)"
26```
27┌─────────────────────────────────────────────────────────────────┐
28│ GEO/SRA DATA ACQUISITION │
29└─────────────────────────────────────────────────────────────────┘
30 │
31 ▼
32 ┌────────────────────────┐
33 │ Fetch study info │
34 │ • Query NCBI/SRA │
35 │ • Get metadata │
36 │ • Detect organism │
37 │ • Identify data type │
38 └────────────────────────┘
39 │
40 ▼
41 ┌────────────────────────┐
42 │ Present summary │
43 │ • Organism: Human │
44 │ • Genome: GRCh38 │
45 │ • Type: RNA-Seq │
46 │ • Pipeline: rnaseq │
47 │ • Samples: 12 │
48 │ (6 treated, │
49 │ 6 control) │
50 │ • Size: ~24 GB │
51 └────────────────────────┘
52 │
53 ▼
54 ┌─────────────────┐
55 │ USER CONFIRMS │◄──── Decision point
56 │ genome/pipeline│
57 └─────────────────┘
58 │
59 ▼
60 ┌────────────────────────┐
61 │ Select samples │
62 │ • Group by condition │
63 │ • Show treated/ctrl │
64 └────────────────────────┘
65 │
66 ▼
67 ┌─────────────────┐
68 │ USER SELECTS │◄──── Decision point
69 │ sample subset │
70 └─────────────────┘
71 │
72 ▼
73 ┌────────────────────────┐
74 │ Download FASTQs │
75 │ • 24 files (R1+R2) │
76 │ • Parallel transfers │
77 │ • Auto-resume │
78 └────────────────────────┘
79 │
80 ▼
81 ┌────────────────────────┐
82 │ Generate samplesheet │
83 │ • Map SRR to files │
84 │ • Pair R1/R2 │
85 │ • Assign conditions │
86 └────────────────────────┘
87 │
88 ▼
89┌─────────────────────────────────────────────────────────────────┐
90│ NF-CORE PIPELINE EXECUTION │
91│ (Continue with Step 1 of main workflow) │
92└─────────────────────────────────────────────────────────────────┘
93```
95---

Workflow Overview

Example: "Find differentially expressed genes in GSE309891 (drug-treated vs control)"

┌─────────────────────────────────────────────────────────────────┐
│                    GEO/SRA DATA ACQUISITION                     │
└─────────────────────────────────────────────────────────────────┘
                              │
                              ▼
                 ┌────────────────────────┐
                 │   Fetch study info     │
                 │   • Query NCBI/SRA     │
                 │   • Get metadata       │
                 │   • Detect organism    │
                 │   • Identify data type │
                 └────────────────────────┘
                              │
                              ▼
                 ┌────────────────────────┐
                 │   Present summary      │
                 │   • Organism: Human    │
                 │   • Genome: GRCh38     │
                 │   • Type: RNA-Seq      │
                 │   • Pipeline: rnaseq   │
                 │   • Samples: 12        │
                 │     (6 treated,        │
                 │      6 control)        │
                 │   • Size: ~24 GB       │
                 └────────────────────────┘
                              │
                              ▼
                    ┌─────────────────┐
                    │  USER CONFIRMS  │◄──── Decision point
                    │  genome/pipeline│
                    └─────────────────┘
                              │
                              ▼
                 ┌────────────────────────┐
                 │   Select samples       │
                 │   • Group by condition │
                 │   • Show treated/ctrl  │
                 └────────────────────────┘
                              │
                              ▼
                    ┌─────────────────┐
                    │  USER SELECTS   │◄──── Decision point
                    │  sample subset  │
                    └─────────────────┘
                              │
                              ▼
                 ┌────────────────────────┐
                 │   Download FASTQs      │
                 │   • 24 files (R1+R2)   │
                 │   • Parallel transfers │
                 │   • Auto-resume        │
                 └────────────────────────┘
                              │
                              ▼
                 ┌────────────────────────┐
                 │   Generate samplesheet │
                 │   • Map SRR to files   │
                 │   • Pair R1/R2         │
                 │   • Assign conditions  │
                 └────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────────┐
│                    NF-CORE PIPELINE EXECUTION                   │
│              (Continue with Step 1 of main workflow)            │
└─────────────────────────────────────────────────────────────────┘

Raw lines 22 to 96
97## Instructions for Claude
99When assisting users with GEO/SRA data acquisition:
1011. **Always fetch study info first** to show the user what data is available
1022. **Ask for confirmation before downloading** - Present the sample groups and sizes, then ask which subset to download using AskUserQuestion
1033. **Suggest appropriate genome and pipeline** based on the organism and data type
1044. **Return to main SKILL.md workflow** after data preparation is complete
106Example confirmation question:
107```
108Question: "Which sample group would you like to download?"
109Options:
110 - "RNA-Seq:PAIRED (42 samples, ~87 GB)"
111 - "RNA-Seq:SINGLE (7 samples, ~4.5 GB)"
112 - "All samples (49 samples, ~92 GB)"
113```
115---

Instructions for Claude

When assisting users with GEO/SRA data acquisition:

  1. Always fetch study info first to show the user what data is available
  2. Ask for confirmation before downloading - Present the sample groups and sizes, then ask which subset to download using AskUserQuestion
  3. Suggest appropriate genome and pipeline based on the organism and data type
  4. Return to main SKILL.md workflow after data preparation is complete

Example confirmation question:

Question: "Which sample group would you like to download?"
Options:
  - "RNA-Seq:PAIRED (42 samples, ~87 GB)"
  - "RNA-Seq:SINGLE (7 samples, ~4.5 GB)"
  - "All samples (49 samples, ~92 GB)"

Raw lines 97 to 116
Involves a person AskUserQuestion :102
117## Step 1: Fetch Study Information
119Get metadata about a GEO study before downloading.
121```bash
122python scripts/sra_geo_fetch.py info <GEO_ID>
123```
125**Example:**
126```bash
127python scripts/sra_geo_fetch.py info GSE110004
128```
130**Output includes:**
131- Study title and summary
132- Organism (with auto-suggested genome)
133- Number of samples and runs
134- Data types (RNA-Seq, ATAC-seq, etc.)
135- Estimated download size
136- Suggested nf-core pipeline
138**Save info to JSON:**
139```bash
140python scripts/sra_geo_fetch.py info GSE110004 -o study_info.json
141```
143---

Step 1: Fetch Study Information

Get metadata about a GEO study before downloading.

python scripts/sra_geo_fetch.py info <GEO_ID>

Example:

python scripts/sra_geo_fetch.py info GSE110004

Output includes:

  • Study title and summary
  • Organism (with auto-suggested genome)
  • Number of samples and runs
  • Data types (RNA-Seq, ATAC-seq, etc.)
  • Estimated download size
  • Suggested nf-core pipeline

Save info to JSON:

python scripts/sra_geo_fetch.py info GSE110004 -o study_info.json

Raw lines 117 to 144
Runs code python scripts/sra_geo_fetch.py :122
145## Step 2: Review Sample Groups
147View sample groups organized by data type and layout. This is useful for studies with mixed data types.
149```bash
150python scripts/sra_geo_fetch.py groups <GEO_ID>
151```
153**Example output:**
154```
155Sample Group Count Layout GSM Range Est. Size
156--------------------------------------------------------------------------------
157RNA-Seq 42 PAIRED GSM2879618...(42 samples) 87.4 GB
158RNA-Seq 7 SINGLE GSM2976181-GSM2976187 4.5 GB
159--------------------------------------------------------------------------------
160TOTAL 49 91.9 GB
162Available groups for --subset option:
163 1. "RNA-Seq:PAIRED" - 42 samples (~87.4 GB)
164 2. "RNA-Seq:SINGLE" - 7 samples (~4.5 GB)
165```
167**List individual runs:**
168```bash
169python scripts/sra_geo_fetch.py list <GEO_ID>
171# Filter by data type
172python scripts/sra_geo_fetch.py list GSE110004 --filter "RNA-Seq:PAIRED"
173```
175**DECISION POINT:** Review the sample groups. Decide which subset to download if the study has multiple data types.
177---

Step 2: Review Sample Groups

View sample groups organized by data type and layout. This is useful for studies with mixed data types.

python scripts/sra_geo_fetch.py groups <GEO_ID>

Example output:

Sample Group          Count Layout     GSM Range                    Est. Size
--------------------------------------------------------------------------------
RNA-Seq                  42 PAIRED     GSM2879618...(42 samples)      87.4 GB
RNA-Seq                   7 SINGLE     GSM2976181-GSM2976187           4.5 GB
--------------------------------------------------------------------------------
TOTAL                    49                                           91.9 GB

Available groups for --subset option:
  1. "RNA-Seq:PAIRED" - 42 samples (~87.4 GB)
  2. "RNA-Seq:SINGLE" - 7 samples (~4.5 GB)

List individual runs:

python scripts/sra_geo_fetch.py list <GEO_ID>

# Filter by data type
python scripts/sra_geo_fetch.py list GSE110004 --filter "RNA-Seq:PAIRED"

DECISION POINT: Review the sample groups. Decide which subset to download if the study has multiple data types.


Raw lines 145 to 178
Runs code python scripts/sra_geo_fetch.py :150
179## Step 3: Download FASTQ Files
181Download FASTQ files from ENA (faster than SRA).
183```bash
184python scripts/sra_geo_fetch.py download <GEO_ID> -o <OUTPUT_DIR>
185```
187**Options:**
188- `-o, --output`: Output directory (required)
189- `-i, --interactive`: Interactively select sample group to download
190- `-s, --subset`: Filter by data type (e.g., "RNA-Seq:PAIRED")
191- `-p, --parallel`: Parallel downloads (default: 4)
192- `-t, --timeout`: Download timeout in seconds (default: 600)

Step 3: Download FASTQ Files

Download FASTQ files from ENA (faster than SRA).

python scripts/sra_geo_fetch.py download <GEO_ID> -o <OUTPUT_DIR>

Options:

  • -o, --output: Output directory (required)
  • -i, --interactive: Interactively select sample group to download
  • -s, --subset: Filter by data type (e.g., "RNA-Seq:PAIRED")
  • -p, --parallel: Parallel downloads (default: 4)
  • -t, --timeout: Download timeout in seconds (default: 600)
Raw lines 179 to 193
Runs code python scripts/sra_geo_fetch.py :184
194### Interactive Mode (Recommended)
196Use `-i` flag for interactive sample selection when the study has multiple data types:
198```bash
199python scripts/sra_geo_fetch.py download GSE110004 -o ./fastq -i
200```
202**Interactive output:**
203```
204============================================================
205 SELECT SAMPLE GROUP TO DOWNLOAD
206============================================================
208 [1] RNA-Seq (paired)
209 Samples: 42
210 GSM: GSM2879618...(42 samples)
211 Size: ~87.4 GB
213 [2] RNA-Seq (single)
214 Samples: 7
215 GSM: GSM2976181-GSM2976187
216 Size: ~4.5 GB
218 [0] Download ALL (49 samples)
219------------------------------------------------------------
221Enter selection (0-2):
222```

Interactive Mode (Recommended)

Use -i flag for interactive sample selection when the study has multiple data types:

python scripts/sra_geo_fetch.py download GSE110004 -o ./fastq -i

Interactive output:

============================================================
  SELECT SAMPLE GROUP TO DOWNLOAD
============================================================

  [1] RNA-Seq (paired)
      Samples: 42
      GSM: GSM2879618...(42 samples)
      Size: ~87.4 GB

  [2] RNA-Seq (single)
      Samples: 7
      GSM: GSM2976181-GSM2976187
      Size: ~4.5 GB

  [0] Download ALL (49 samples)
------------------------------------------------------------

Enter selection (0-2):
Raw lines 194 to 223
Runs code python scripts/sra_geo_fetch.py :199
224### Direct Subset Selection
226Alternatively, specify the subset directly:
228```bash
229# Download only RNA-Seq paired-end data
230python scripts/sra_geo_fetch.py download GSE110004 -o ./fastq \
231 --subset "RNA-Seq:PAIRED" --parallel 6
232```
234**Note:** Downloads automatically skip existing files. Resume interrupted downloads by re-running the command.
236---

Direct Subset Selection

Alternatively, specify the subset directly:

# Download only RNA-Seq paired-end data
python scripts/sra_geo_fetch.py download GSE110004 -o ./fastq \
    --subset "RNA-Seq:PAIRED" --parallel 6

Note: Downloads automatically skip existing files. Resume interrupted downloads by re-running the command.


Raw lines 224 to 237
Runs code python scripts/sra_geo_fetch.py :230
238## Step 4: Generate Samplesheet
240Create a samplesheet compatible with nf-core pipelines.
242```bash
243python scripts/sra_geo_fetch.py samplesheet <GEO_ID> \
244 --fastq-dir <FASTQ_DIR> \
245 -o samplesheet.csv
246```
248**Options:**
249- `-f, --fastq-dir`: Directory containing downloaded FASTQ files (required)
250- `-o, --output`: Output samplesheet path (default: samplesheet.csv)
251- `-p, --pipeline`: Target pipeline (auto-detected if not specified)
253**Example:**
254```bash
255python scripts/sra_geo_fetch.py samplesheet GSE110004 \
256 --fastq-dir ./fastq \
257 -o samplesheet.csv
258```
260**Output:** The script will:
2611. Create samplesheet in the format required by the target pipeline
2622. Display suggested genome reference
2633. Show suggested nf-core command
265---

Step 4: Generate Samplesheet

Create a samplesheet compatible with nf-core pipelines.

python scripts/sra_geo_fetch.py samplesheet <GEO_ID> \
    --fastq-dir <FASTQ_DIR> \
    -o samplesheet.csv

Options:

  • -f, --fastq-dir: Directory containing downloaded FASTQ files (required)
  • -o, --output: Output samplesheet path (default: samplesheet.csv)
  • -p, --pipeline: Target pipeline (auto-detected if not specified)

Example:

python scripts/sra_geo_fetch.py samplesheet GSE110004 \
    --fastq-dir ./fastq \
    -o samplesheet.csv

Output: The script will:

  1. Create samplesheet in the format required by the target pipeline
  2. Display suggested genome reference
  3. Show suggested nf-core command

Raw lines 238 to 266
Runs code python scripts/sra_geo_fetch.py :243
267## Step 5: Run nf-core Pipeline
269After generating the samplesheet, the script provides a suggested command.
271**Example output:**
272```
273Suggested command:
274 nextflow run nf-core/rnaseq \
275 --input samplesheet.csv \
276 --outdir results \
277 --genome R64-1-1 \
278 -profile docker
279```
281**DECISION POINT:** Review and confirm:
2821. Is the suggested pipeline correct?
2832. Is the genome reference correct for your organism?
2843. Do you need additional pipeline options?
286Then return to the main SKILL.md workflow (Step 1: Environment Check) to proceed with pipeline execution.
288---

Step 5: Run nf-core Pipeline

After generating the samplesheet, the script provides a suggested command.

Example output:

Suggested command:
   nextflow run nf-core/rnaseq \
       --input samplesheet.csv \
       --outdir results \
       --genome R64-1-1 \
       -profile docker

DECISION POINT: Review and confirm:

  1. Is the suggested pipeline correct?
  2. Is the genome reference correct for your organism?
  3. Do you need additional pipeline options?

Then return to the main SKILL.md workflow (Step 1: Environment Check) to proceed with pipeline execution.


Raw lines 267 to 289
290## Supported Pipelines
292The skill auto-detects appropriate pipelines based on library strategy. Pipelines marked with ★ are fully supported with configs, samplesheet generation, and documentation. Others are suggested but require manual setup following nf-core documentation.
294| Library Strategy | Suggested Pipeline | Support |
295|------------------|--------------------|---------|
296| RNA-Seq | nf-core/rnaseq | ★ Full |
297| ATAC-seq | nf-core/atacseq | ★ Full |
298| WGS/WXS | nf-core/sarek | ★ Full |
299| ChIP-seq | nf-core/chipseq | Manual |
300| Bisulfite-Seq | nf-core/methylseq | Manual |
301| miRNA-Seq | nf-core/smrnaseq | Manual |
302| Amplicon | nf-core/ampliseq | Manual |
304---

Supported Pipelines

The skill auto-detects appropriate pipelines based on library strategy. Pipelines marked with ★ are fully supported with configs, samplesheet generation, and documentation. Others are suggested but require manual setup following nf-core documentation.

Library StrategySuggested PipelineSupport
RNA-Seqnf-core/rnaseq★ Full
ATAC-seqnf-core/atacseq★ Full
WGS/WXSnf-core/sarek★ Full
ChIP-seqnf-core/chipseqManual
Bisulfite-Seqnf-core/methylseqManual
miRNA-Seqnf-core/smrnaseqManual
Ampliconnf-core/ampliseqManual

Raw lines 290 to 305
306## Supported Organisms
308Common organisms with auto-suggested genomes:
310| Organism | Genome | Notes |
311|----------|--------|-------|
312| Homo sapiens | GRCh38 | Human reference |
313| Mus musculus | GRCm39 | Mouse reference |
314| Saccharomyces cerevisiae | R64-1-1 | Yeast S288C |
315| Drosophila melanogaster | BDGP6 | Fruit fly |
316| Caenorhabditis elegans | WBcel235 | C. elegans |
317| Danio rerio | GRCz11 | Zebrafish |
318| Arabidopsis thaliana | TAIR10 | Arabidopsis |
319| Rattus norvegicus | Rnor_6.0 | Rat |
321See `scripts/config/genomes.yaml` for the full list.
323---

Supported Organisms

Common organisms with auto-suggested genomes:

OrganismGenomeNotes
Homo sapiensGRCh38Human reference
Mus musculusGRCm39Mouse reference
Saccharomyces cerevisiaeR64-1-1Yeast S288C
Drosophila melanogasterBDGP6Fruit fly
Caenorhabditis elegansWBcel235C. elegans
Danio rerioGRCz11Zebrafish
Arabidopsis thalianaTAIR10Arabidopsis
Rattus norvegicusRnor_6.0Rat

See scripts/config/genomes.yaml for the full list.


Raw lines 306 to 324
Runs code scripts/config/genomes.yaml :321
325## Complete Example
327Reanalyze GSE110004 (yeast RNA-seq):
329```bash
330# 1. Get study info and sample groups
331python scripts/sra_geo_fetch.py info GSE110004
333# 2. Download with interactive selection
334python scripts/sra_geo_fetch.py download GSE110004 -o ./fastq -i
335# Select option [1] for RNA-Seq paired-end samples
337# 3. Generate samplesheet
338python scripts/sra_geo_fetch.py samplesheet GSE110004 \
339 --fastq-dir ./fastq \
340 -o samplesheet.csv
342# 4. Run nf-core/rnaseq (continue with main SKILL.md workflow)
343nextflow run nf-core/rnaseq \
344 --input samplesheet.csv \
345 --outdir results \
346 --genome R64-1-1 \
347 -profile docker
348```

Complete Example

Reanalyze GSE110004 (yeast RNA-seq):

# 1. Get study info and sample groups
python scripts/sra_geo_fetch.py info GSE110004

# 2. Download with interactive selection
python scripts/sra_geo_fetch.py download GSE110004 -o ./fastq -i
# Select option [1] for RNA-Seq paired-end samples

# 3. Generate samplesheet
python scripts/sra_geo_fetch.py samplesheet GSE110004 \
    --fastq-dir ./fastq \
    -o samplesheet.csv

# 4. Run nf-core/rnaseq (continue with main SKILL.md workflow)
nextflow run nf-core/rnaseq \
    --input samplesheet.csv \
    --outdir results \
    --genome R64-1-1 \
    -profile docker
Raw lines 325 to 349
Runs code python scripts/sra_geo_fetch.py :331
350### Alternative: Non-interactive Download
352```bash
353# Review sample groups first
354python scripts/sra_geo_fetch.py groups GSE110004
356# Download specific subset directly
357python scripts/sra_geo_fetch.py download GSE110004 \
358 --subset "RNA-Seq:PAIRED" \
359 -o ./fastq \
360 --parallel 4
361```
363---

Alternative: Non-interactive Download

# Review sample groups first
python scripts/sra_geo_fetch.py groups GSE110004

# Download specific subset directly
python scripts/sra_geo_fetch.py download GSE110004 \
    --subset "RNA-Seq:PAIRED" \
    -o ./fastq \
    --parallel 4

Raw lines 350 to 364
Runs code python scripts/sra_geo_fetch.py :354
365## Troubleshooting

Troubleshooting

Raw lines 365 to 366
367### ENA Download Fails
368If ENA downloads fail, the data may need to be fetched directly from SRA:
370```bash
371# Create SRA tools environment
372conda create -n sra_tools -c bioconda sra-tools
374# Download with prefetch + fasterq-dump
375conda run -n sra_tools prefetch SRR6357070
376conda run -n sra_tools fasterq-dump SRR6357070 -O ./fastq
377```

ENA Download Fails

If ENA downloads fail, the data may need to be fetched directly from SRA:

# Create SRA tools environment
conda create -n sra_tools -c bioconda sra-tools

# Download with prefetch + fasterq-dump
conda run -n sra_tools prefetch SRR6357070
conda run -n sra_tools fasterq-dump SRR6357070 -O ./fastq
Raw lines 367 to 378
379### No SRA Runs Found
380Some GEO datasets only have processed data, not raw sequencing reads. Check:
381```bash
382python scripts/sra_geo_fetch.py info <GEO_ID>
383```
384If "Runs: 0", the dataset may not have raw data in SRA.

No SRA Runs Found

Some GEO datasets only have processed data, not raw sequencing reads. Check:

python scripts/sra_geo_fetch.py info <GEO_ID>

If "Runs: 0", the dataset may not have raw data in SRA.

Raw lines 379 to 385
Runs code python scripts/sra_geo_fetch.py :382
386### SuperSeries Support
387GEO SuperSeries (which contain multiple SubSeries) are automatically handled. The tool will:
3881. Detect that a GEO ID is a SuperSeries
3892. Find the linked BioProject accession
3903. Fetch all SRA runs from the BioProject
392Example: GSE110004 is a SuperSeries that links to BioProject PRJNA432544.

SuperSeries Support

GEO SuperSeries (which contain multiple SubSeries) are automatically handled. The tool will:

  1. Detect that a GEO ID is a SuperSeries
  2. Find the linked BioProject accession
  3. Fetch all SRA runs from the BioProject

Example: GSE110004 is a SuperSeries that links to BioProject PRJNA432544.

Raw lines 386 to 393
394### Genome Not Recognized
395If the organism is not in the genome mapping, manually specify the genome:
396```bash
397# Check available iGenomes
398python scripts/manage_genomes.py list
400# Or provide custom reference files to nf-core
401nextflow run nf-core/rnaseq --fasta /path/to/genome.fa --gtf /path/to/genes.gtf
402```
404---

Genome Not Recognized

If the organism is not in the genome mapping, manually specify the genome:

# Check available iGenomes
python scripts/manage_genomes.py list

# Or provide custom reference files to nf-core
nextflow run nf-core/rnaseq --fasta /path/to/genome.fa --gtf /path/to/genes.gtf

Raw lines 394 to 405
Runs code python scripts/manage_genomes.py :398
406## Requirements
408- Python 3.8+
409- `requests` library (optional but recommended)
410- `pyyaml` library (optional, for genome config)
411- Network access to NCBI and ENA
413Install optional dependencies:
414```bash
415pip install requests pyyaml
416```

Requirements

  • Python 3.8+
  • requests library (optional but recommended)
  • pyyaml library (optional, for genome config)
  • Network access to NCBI and ENA

Install optional dependencies:

pip install requests pyyaml
Raw lines 406 to 416