# HG changeset patch # User tiagoantao # Date 1459269939 14400 # Node ID 5cd3cc89bf59625f409519838d5214245391b8cd # Parent 323f30038a779ee41f5f3f54d7e65cf17d5d7e72 planemo upload commit 80e74122bff9cbc1d172f920b164d6db9c028e7b diff -r 323f30038a77 -r 5cd3cc89bf59 barcode_sort.pl --- a/barcode_sort.pl Tue Mar 29 12:08:53 2016 -0400 +++ b/barcode_sort.pl Tue Mar 29 12:45:39 2016 -0400 @@ -8,6 +8,10 @@ # note this is the length of what's left after enzyme digestion, NOT the full length of the enzyme recognition site # the program expects all correct forward reads to follow the pattern: $n initial nucleotides, then $b nucleotides of barcode, then $e nucleotides of the cutsite +my $is_resilient; + +$is_resilient = $ARGV[5]; # true if is resilient to errors + open (IN, $ARGV[0]); # read file with barcodes my %counts = (); # make a hash of barcodes that will be searched while() { # counts of each barcode can be tracked with this hash, with a few more lines of code below diff -r 323f30038a77 -r 5cd3cc89bf59 barcode_sort.xml --- a/barcode_sort.xml Tue Mar 29 12:08:53 2016 -0400 +++ b/barcode_sort.xml Tue Mar 29 12:45:39 2016 -0400 @@ -1,7 +1,5 @@ - - Run the STACKS populations program - - + + Barcode Sorting with Paired-End reads for Stacks