Loading...
Loading...
Compare original and translation side by side
- [ ] Step 0: Acquire data (if from GEO/SRA)
- [ ] Step 1: Environment check (MUST pass)
- [ ] Step 2: Select pipeline (confirm with user)
- [ ] Step 3: Run test profile (MUST pass)
- [ ] Step 4: Create samplesheet
- [ ] Step 5: Configure & run (confirm genome with user)
- [ ] Step 6: Verify outputs- [ ] 步骤0:获取数据(若来自GEO/SRA)
- [ ] 步骤1:环境检查(必须通过)
- [ ] 步骤2:选择流程(与用户确认)
- [ ] 步骤3:运行测试配置文件(必须通过)
- [ ] 步骤4:创建样本表
- [ ] 步骤5:配置并运行(与用户确认参考基因组)
- [ ] 步骤6:验证输出结果undefinedundefined
**DECISION POINT:** After fetching study info, confirm with user:
- Which sample subset to download (if multiple data types)
- Suggested genome and pipeline
Then continue to Step 1.
---
**决策点:** 获取研究信息后,与用户确认:
- 要下载的样本子集(如果有多种数据类型)
- 推荐的参考基因组和流程
之后继续步骤1。
---python scripts/check_environment.pypython scripts/check_environment.py| Problem | Fix |
|---|---|
| Not installed | Install from https://docs.docker.com/get-docker/ |
| Permission denied | |
| Daemon not running | |
| 问题 | 修复方案 |
|---|---|
| 未安装 | 从https://docs.docker.com/get-docker/安装 |
| 权限不足 | 执行 |
| 守护进程未运行 | 执行 |
| Problem | Fix |
|---|---|
| Not installed | |
| Version < 23.04 | |
| 问题 | 修复方案 |
|---|---|
| 未安装 | 执行 |
| 版本 < 23.04 | 执行 |
| Problem | Fix |
|---|---|
| Not installed / < 11 | |
| 问题 | 修复方案 |
|---|---|
| 未安装 / 版本 < 11 | 执行 |
| Data Type | Pipeline | Version | Goal |
|---|---|---|---|
| RNA-seq | | 3.22.2 | Gene expression |
| WGS/WES | | 3.7.1 | Variant calling |
| ATAC-seq | | 2.1.2 | Chromatin accessibility |
python scripts/detect_data_type.py /path/to/data| 数据类型 | 流程 | 版本 | 目标 |
|---|---|---|---|
| RNA-seq | | 3.22.2 | 基因表达分析 |
| WGS/WES | | 3.7.1 | 变异检测 |
| ATAC-seq | | 2.1.2 | 染色质可及性分析 |
python scripts/detect_data_type.py /path/to/datanextflow run nf-core/<pipeline> -r <version> -profile test,docker --outdir test_output| Pipeline | Command |
|---|---|
| rnaseq | |
| sarek | |
| atacseq | |
ls test_output/multiqc/multiqc_report.html
grep "Pipeline completed successfully" .nextflow.lognextflow run nf-core/<pipeline> -r <version> -profile test,docker --outdir test_output| 流程 | 命令 |
|---|---|
| rnaseq | |
| sarek | |
| atacseq | |
ls test_output/multiqc/multiqc_report.html
grep "Pipeline completed successfully" .nextflow.logpython scripts/generate_samplesheet.py /path/to/data <pipeline> -o samplesheet.csvpython scripts/generate_samplesheet.py /path/to/data <pipeline> -o samplesheet.csvpython scripts/generate_samplesheet.py --validate samplesheet.csv <pipeline>python scripts/generate_samplesheet.py --validate samplesheet.csv <pipeline>sample,fastq_1,fastq_2,strandedness
SAMPLE1,/abs/path/R1.fq.gz,/abs/path/R2.fq.gz,autopatient,sample,lane,fastq_1,fastq_2,status
patient1,tumor,L001,/abs/path/tumor_R1.fq.gz,/abs/path/tumor_R2.fq.gz,1
patient1,normal,L001,/abs/path/normal_R1.fq.gz,/abs/path/normal_R2.fq.gz,0sample,fastq_1,fastq_2,replicate
CONTROL,/abs/path/ctrl_R1.fq.gz,/abs/path/ctrl_R2.fq.gz,1sample,fastq_1,fastq_2,strandedness
SAMPLE1,/abs/path/R1.fq.gz,/abs/path/R2.fq.gz,autopatient,sample,lane,fastq_1,fastq_2,status
patient1,tumor,L001,/abs/path/tumor_R1.fq.gz,/abs/path/tumor_R2.fq.gz,1
patient1,normal,L001,/abs/path/normal_R1.fq.gz,/abs/path/normal_R2.fq.gz,0sample,fastq_1,fastq_2,replicate
CONTROL,/abs/path/ctrl_R1.fq.gz,/abs/path/ctrl_R2.fq.gz,1python scripts/manage_genomes.py check <genome>python scripts/manage_genomes.py check <genome>
Common genomes: GRCh38 (human), GRCh37 (legacy), GRCm39 (mouse), R64-1-1 (yeast), BDGP6 (fly)
常用参考基因组:GRCh38(人类)、GRCh37(旧版)、GRCm39(小鼠)、R64-1-1(酵母)、BDGP6(果蝇)nextflow run nf-core/<pipeline> \
-r <version> \
-profile docker \
--input samplesheet.csv \
--outdir results \
--genome <genome> \
-resume-r-profile dockersingularity--genome-resume--max_cpus 8 --max_memory '32.GB' --max_time '24.h'nextflow run nf-core/<pipeline> \
-r <version> \
-profile docker \
--input samplesheet.csv \
--outdir results \
--genome <genome> \
-resume-r-profile dockersingularity--genome-resume--max_cpus 8 --max_memory '32.GB' --max_time '24.h'ls results/multiqc/multiqc_report.html
grep "Pipeline completed successfully" .nextflow.logls results/multiqc/multiqc_report.html
grep "Pipeline completed successfully" .nextflow.logresults/star_salmon/salmon.merged.gene_counts.tsvresults/star_salmon/salmon.merged.gene_tpm.tsvresults/variant_calling/*/results/preprocessing/recalibrated/results/macs2/narrowPeak/results/bwa/mergedLibrary/bigwig/results/star_salmon/salmon.merged.gene_counts.tsvresults/star_salmon/salmon.merged.gene_tpm.tsvresults/variant_calling/*/results/preprocessing/recalibrated/results/macs2/narrowPeak/results/bwa/mergedLibrary/bigwig/nextflow run nf-core/<pipeline> -resumenextflow run nf-core/<pipeline> -resume