Convert (Galaxy tool version 1.0.0)

What it does

Converts all delimiters of a specified type into TABs. Consecutive delimiters can be condensed in a single TAB.


Example

  • Input file:

    chrX||151283558|151283724|NM_000808_exon_8_0_chrX_151283559_r|0|-
    chrX|151370273|151370486|NM_000808_exon_9_0_chrX_151370274_r|0|-
    chrX|151559494|151559583|NM_018558_exon_1_0_chrX_151559495_f|0|+
    chrX|151564643|151564711|NM_018558_exon_2_0_chrX_151564644_f||||0|+
    
  • Converting all pipe delimiters of the above file to TABs and condensing delimiters will get:

    chrX  151283558  151283724  NM_000808_exon_8_0_chrX_151283559_r  0  -
    chrX  151370273  151370486  NM_000808_exon_9_0_chrX_151370274_r  0  -
    chrX  151559494  151559583  NM_018558_exon_1_0_chrX_151559495_f  0  +
    chrX  151564643  151564711  NM_018558_exon_2_0_chrX_151564644_f  0  +