<commit_before>#!/usr/bin/env perl

use strict;
use warnings;

use Bio::SeqIO;

use Getopt::Long;

my @seqfiles       = ();
my $mascot_id_file = "";

GetOptions("sequences=s@" => \@seqfiles,
	   "mascot=s"     => \$mascot_id_file) || die "Error in command line arguments\n";

@seqfiles = split(",", join(",", @seqfiles));

my $mapping = {};
my $id2seq  = {};

foreach my $seqfile (@seqfiles)
{
    my $inseq = Bio::SeqIO->new(-file => $seqfile);
    while (my $seq = $inseq->next_seq)
    {
	die "Epic fail\n" if (exists $id2seq->{$seq->id} && $id2seq->{$seq->is} ne $seq->seq);<commit_msg>Fix little typo which caused a bug in demultiplexer<commit_after>#!/usr/bin/env perl

use strict;
use warnings;

use Bio::SeqIO;

use Getopt::Long;

my @seqfiles       = ();
my $mascot_id_file = "";

GetOptions("sequences=s@" => \@seqfiles,
	   "mascot=s"     => \$mascot_id_file) || die "Error in command line arguments\n";

@seqfiles = split(",", join(",", @seqfiles));

my $mapping = {};
my $id2seq  = {};

foreach my $seqfile (@seqfiles)
{
    my $inseq = Bio::SeqIO->new(-file => $seqfile);
    while (my $seq = $inseq->next_seq)
    {
	die "Epic fail\n" if (exists $id2seq->{$seq->id} && $id2seq->{$seq->id} ne $seq->seq);
{'fraction_non_alphanumeric': 0.21182266009852216, 'fraction_numerical': 0.0049261083743842365, 'mean_word_length': 3.856573705179283, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3940605', 'n_tokens_mistral': 490, 'n_tokens_neox': 482, 'n_words': 113}