美文网首页
Prepare Barcodes for Demultiplex

Prepare Barcodes for Demultiplex

作者: 为了梦走一遭 | 来源:发表于2020-11-10 01:41 被阅读0次

usr/bin/perl;

by Mumu

use strict;
use warnings;

chdir "/Users/mumu/Documents/programming/scifi/Round12_Barcode";
open (my out, ">Barcodes_Round1.txt") or die"cannot creat out!";
open (my in, "<round1_barcodes.txt") or die"cannot read in file!";

my i=0; while (myline=<in>){ printline;
chomp line;line =~s/(\W+)//g;
#next if $line !~/\w/;

$i++;

print $out "index", $i, "\t", $line, "\n";

}

相关文章

网友评论

      本文标题:Prepare Barcodes for Demultiplex

      本文链接:https://www.haomeiwen.com/subject/whrdbktx.html