Skip to content

GAWK additions #77

@DLBPointon

Description

@DLBPointon

Description of feature

This module can also be replaced with a single GAWK module call using the below.

BEGIN {OFS = "\t"}  
{gsub(">", ""); print $2, $4, $5 > prefix "_telomere.bed" }  
{gsub(">", ""); print $2,$4,$5,((($5-$4)<0)?-($5-$4):($5-$4)) > prefix "_telomere.bedgraph" }  
Pass "-v prefix=${meta.id}..." in ext.args and enable the disable_redirect_output channel in the GAWK module.

edit: and will have to set ext.suffix to some glob like ".bed*" - this might not actually work

Investigate GAWK module for the above by @prototaxites

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions