<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[nextflow 问题记录]]></title><description><![CDATA[<p dir="auto">问题1. nextflow官方仓库下载的流程，nextflow.conf里配置文件中包含：<br />
custom_config_base = "<a href="https://raw.githubusercontent.com/nf-core/configs/$%7Bparams.custom_config_version%7D" rel="nofollow ugc">https://raw.githubusercontent.com/nf-core/configs/${params.custom_config_version}</a>"<br />
等网络路径，提交流程时会访问github获取配置，会因为网络问题等待很久，建议将配置提前下载到项目里，修改nextflow.conf的所有网络请路径依赖。</p>
]]></description><link>http://an.forum.genostack.com/topic/1035/nextflow-问题记录</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 12:33:16 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/1035.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Jan 2024 11:27:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to nextflow 问题记录 on Tue, 02 Apr 2024 03:09:25 GMT]]></title><description><![CDATA[<p dir="auto">问题：Pacbio HIFI 16s流程跑<code>qiime diversity core-metrics-phylogenetic</code>会报错</p>
<p dir="auto">解决： qiime diversity core-metrics-phylogenetic中有一个内容会自动检测GPU，然后调用GPU，如果检测到GPU，但是调用失败则会报错。</p>
<p dir="auto">在跑命令之前先运行 <code>export UNIFRAC_USE_GPU=N</code>即可使用CPU而不用GPU</p>
]]></description><link>http://an.forum.genostack.com/post/2558</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2558</guid><dc:creator><![CDATA[mengpf]]></dc:creator><pubDate>Tue, 02 Apr 2024 03:09:25 GMT</pubDate></item><item><title><![CDATA[Reply to nextflow 问题记录 on Wed, 27 Mar 2024 03:27:59 GMT]]></title><description><![CDATA[<p dir="auto">问题：流程默认调用nextflow22版本</p>
<p dir="auto">解决：在nextflow.config文件中添加nextflowVersion</p>
<pre><code>manifest {
    name            = 'Pacbio'
    author          = """Andreas Wilm, Alexander Peltzer"""
    homePage        = 'https://github.com/PacificBiosciences/HiFi-16S-workflow'
    description     = """Simple bacterial assembly and annotation"""
    mainScript      = 'main.nf'
    nextflowVersion = '!&gt;=23.04.0'
    version         = '2.1.0'
    doi             = '10.5281/zenodo.2669428'
}
</code></pre>
<p dir="auto">添加完即可自动调用nextflow23版本</p>
]]></description><link>http://an.forum.genostack.com/post/2550</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2550</guid><dc:creator><![CDATA[mengpf]]></dc:creator><pubDate>Wed, 27 Mar 2024 03:27:59 GMT</pubDate></item><item><title><![CDATA[Reply to nextflow 问题记录 on Wed, 28 Feb 2024 08:43:02 GMT]]></title><description><![CDATA[<p dir="auto">问题： 四个小时限制Process exceeded running time limit (4h)</p>
<p dir="auto">解决： 在 <code>genostack_core/nextflow/config/nextflow.conf</code> 里面加上</p>
<pre><code>process {
    cpus = 36
    memory = 256.GB
    time = 500.h
    withLabel: sc_tiny {
            cpus = 20
            memory = 200.GB
            time = 500.h }
    withLabel: sc_small {
           cpus = 20
           memory = 200.GB
           time = 500.h }
    withLabel: sc_medium {
          cpus = 20
          memory = 200.GB
          time = 500.h }
    withLabel: mc_small {
          cpus = 20
          memory = 200.GB
          time = 500.h }
    withLabel: mc_medium {
          cpus = 20
          memory = 200.GB
          time = 500.h }
    withLabel: mc_large {
         cpus = 20
         memory = 200.GB
         time = 500.h }
    withLabel: mc_huge {
         cpus = 20
         memory = 200.GB
         time = 500.h }
}
</code></pre>
]]></description><link>http://an.forum.genostack.com/post/2535</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2535</guid><dc:creator><![CDATA[mengpf]]></dc:creator><pubDate>Wed, 28 Feb 2024 08:43:02 GMT</pubDate></item><item><title><![CDATA[Reply to nextflow 问题记录 on Thu, 01 Feb 2024 09:47:52 GMT]]></title><description><![CDATA[<p dir="auto">插件问题处理：nextflow默认使用https://github.com/nextflow-io/plugins/blob/main/plugins.json，替换成https://file.genostack.com/public_resource/plugins.json，<br />
将321个插件下载到r740服务器中， 后续nextflow调试安装不需要考虑nextflow插件下载失败问题</p>
]]></description><link>http://an.forum.genostack.com/post/2470</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2470</guid><dc:creator><![CDATA[zhanglu]]></dc:creator><pubDate>Thu, 01 Feb 2024 09:47:52 GMT</pubDate></item><item><title><![CDATA[Reply to nextflow 问题记录 on Thu, 01 Feb 2024 09:42:40 GMT]]></title><description><![CDATA[<p dir="auto">问题：sarek项目中strelka步骤中会生成文件有问题</p>
<p dir="auto">解决：在【modules】-【nf-core】-【strelka】-【germline】-【<a href="http://main.nf" rel="nofollow ugc">main.nf</a>】中删除错误文件</p>
<pre><code>mv strelka/results/variants/genome.*.vcf.gz     ${prefix}.genome.vcf.gz
    mv strelka/results/variants/genome.*.vcf.gz.tbi ${prefix}.genome.vcf.gz.tbi
    mv strelka/results/variants/variants.vcf.gz     ${prefix}.variants.vcf.gz
    mv strelka/results/variants/variants.vcf.gz.tbi ${prefix}.variants.vcf.gz.tbi

## 添加这行代码
	rm -rf strelka/results/variants/*
</code></pre>
]]></description><link>http://an.forum.genostack.com/post/2469</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2469</guid><dc:creator><![CDATA[mengpf]]></dc:creator><pubDate>Thu, 01 Feb 2024 09:42:40 GMT</pubDate></item><item><title><![CDATA[Reply to nextflow 问题记录 on Thu, 01 Feb 2024 06:14:03 GMT]]></title><description><![CDATA[<p dir="auto">问题4 ：fastqc版本报错（在版本号之前生成了一句警告，导致报错）</p>
<p dir="auto">解决：在项目中【modules】-【nf-core】-【fastqc】-【<a href="http://main.nf" rel="nofollow ugc">main.nf</a>】中把 fastqc的版本指定。</p>
<p dir="auto">原来的代码</p>
<pre><code>cat &lt;&lt;-END_VERSIONS &gt; versions.yml
    "${task.process}":
        fastqc: \$( fastqc --version | sed -e "s/FastQC v//g" )
    END_VERSIONS
    """
</code></pre>
<p dir="auto">修改后的代码</p>
<pre><code>cat &lt;&lt;-END_VERSIONS &gt; versions.yml
    "${task.process}":
        fastqc: 0.12.1
    END_VERSIONS
    """
</code></pre>
]]></description><link>http://an.forum.genostack.com/post/2468</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2468</guid><dc:creator><![CDATA[mengpf]]></dc:creator><pubDate>Thu, 01 Feb 2024 06:14:03 GMT</pubDate></item><item><title><![CDATA[Reply to nextflow 问题记录 on Thu, 01 Feb 2024 06:06:14 GMT]]></title><description><![CDATA[<p dir="auto">问题3 ：上传到平台的nextflow流程需要dag.html文件</p>
<p dir="auto">解决：由于nextflow23.10版本不会生成需要的文件，需要在nextflow23.04版本下运行<code>nextflow run main.nf -profile test,docker -with-dag dag.html -preview</code>   得到dag.html再上传即可</p>
]]></description><link>http://an.forum.genostack.com/post/2467</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2467</guid><dc:creator><![CDATA[mengpf]]></dc:creator><pubDate>Thu, 01 Feb 2024 06:06:14 GMT</pubDate></item><item><title><![CDATA[Reply to nextflow 问题记录 on Thu, 01 Feb 2024 06:07:50 GMT]]></title><description><![CDATA[<p dir="auto">问题2：插件下载不下来，比如nf-validation</p>
<p dir="auto">解决：先在服务器里面用命令行运行（命令行运行时会下载需要的插件），运行以后找到~/.nextflow/plugins，然后把plugins压缩打包，并在docker中映射此路径。</p>
<p dir="auto">同时，需要在项目中的nextflow.config文件中指定插件的版本。如下：</p>
<pre><code>// Nextflow plugins
plugins {
    id 'nf-validation@1.1.3' // Validation of pipeline parameters and creation of an input channel from a sample sheet
    id 'nf-prov@1.2.1'       // Provenance reports for pipeline runs
}
</code></pre>
]]></description><link>http://an.forum.genostack.com/post/2466</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2466</guid><dc:creator><![CDATA[mengpf]]></dc:creator><pubDate>Thu, 01 Feb 2024 06:07:50 GMT</pubDate></item></channel></rss>