Prepare Barcodes for Demultiplex

2020-11-10  本文已影响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";

}

上一篇 下一篇

猜你喜欢

热点阅读