Skip to content

Commit

Permalink
Update dragen demux setting for trim purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
dufeiyu committed Jun 16, 2023
1 parent b81a3e0 commit e718054
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/launcher.pl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
#my $id = $lib =~ /^H_|Research/ ? 'NONE' : $mrn.'_'.$accession;
my $id = ($exception and $exception =~ /RESEQ|RESEARCH|NOTRANSFER/) ? 'NONE' : $mrn.'_'.$accession;

($sample) = $lib =~ /^(\S+)\-lib/ if $lib =~ /^H_|Research|Positive\-Control/;
($sample) = $lib =~ /^(\S+)\-lib/ if $lib =~ /^H_|Research|Clinical|Positive\-Control/;

unless ($id eq 'NONE') {
unless ($mrn and $accession) {
Expand Down Expand Up @@ -154,9 +154,9 @@
my $ss_fh = IO::File->new(">$dragen_ss") or die "Fail to write to $dragen_ss";
$ss_fh->print("[Settings]\n");
$ss_fh->print("AdapterBehavior,trim\n");
$ss_fh->print("AdapterRead1,GATCGGAAGAGCACACGTCTGAACTCCAGTCAC\n");
$ss_fh->print("AdapterRead2,AGATCGGAAGAGCGTCGTGTAGGGAAA\n");
$ss_fh->print("OverrideCycles,Y151;I8N2;U10;Y151\n");
$ss_fh->print("AdapterRead1,AAGATCGGAAGAGCACACGTCTGAACTCC+CAGATCGGAAGAGCACACGTCTGAACTCC+GAGATCGGAAGAGCACACGTCTGAACTCC+TAGATCGGAAGAGCACACGTCTGAACTCC\n");
$ss_fh->print("AdapterRead2,AAAGATCGGAAGAGCGTCGTGTAGGGAAA+CAAGATCGGAAGAGCGTCGTGTAGGGAAA+GAAGATCGGAAGAGCGTCGTGTAGGGAAA+TAAGATCGGAAGAGCGTCGTGTAGGGAAA\n");
$ss_fh->print("OverrideCycles,N1Y150;I8N2;U10;N1Y150\n");
$ss_fh->print("[Data]\n");
$ss_fh->print("Lane,Sample_ID,Sample_Name,Sample_Project,index,index2\n");
$ss_fh->print($ds_str);
Expand Down

0 comments on commit e718054

Please sign in to comment.