Skip to content
Discussion options

You must be logged in to vote

I gave another look and I am seeing multiple errors, so I will just correct the code and show you what I changed:

  • don't need parentheses after fastp process name
  • reference file pairs as x0 and x1 instead of x[0] and x[1]
  • remove println from process output, emit your output files here instead
process fastp {

    tag "$sample_id"

    input:
    tuple val(sample_id), file(x0), file(x1)

    output:
    val(sample_id)

    script:
    """
    mkdir fastp_trimmed

    fastp \
        --correction \
        --cut_tail \
        --disable_trim_poly_g \
        --length_required 50 \
        --qualified_quality_phred 20 \
        --thread 12 \
        --trim_poly_x \
        --unqualified_per…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@complexgenome
Comment options

@bentsherman
Comment options

Answer selected by complexgenome
Comment options

You must be logged in to vote
1 reply
@bentsherman
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants