Skip to content
Snippets Groups Projects
Select Git revision
  • 66f793c836b38ec9866962ccd12c22dde273dec9
  • master default protected
  • tp_experimental_biologists
3 results

fasta_sampler.nf

Blame
  • Forked from LBMC / nextflow
    1224 commits behind, 3 commits ahead of the upstream repository.
    fasta_sampler.nf 288 B
    Channel
      .fromPath( "data/tiny_dataset/fasta/*.fasta" )
      .set { fasta_file }
    
    process sample_fasta {
      publishDir "results/sampling/", mode: 'copy'
      
      input:
    file fasta from fasta_file
    
      output:
    file "sample.fasta" into fasta_sample
    
      script:
    """
    head ${fasta} > sample.fasta
    """
    }