Permalink
Browse files

Moved flag_multiSSRs above output_primer_flat_files b/c the latter de…

…pends on knowing which ssrs are multi
  • Loading branch information...
1 parent 04a4651 commit 14934137c56f97c49698a37a321574e283921c77 mestato committed Jul 7, 2015
Showing with 6 additions and 5 deletions.
  1. +6 −5 hwg_gssr_scripts/findSSRs_post_assembly.pl
@@ -270,9 +270,6 @@ sub main{
##---------------------------------------------------------------
## Producing output - Fasta files and flat files
- print "printing output files...";
- create_primer_flat_files ($di_primer_out, $tri_primer_out, $tetra_primer_out);
-
# this subroutine accomplishes two things
# 1. adds a MULTI flag to the data hash indicating if the
# ssr is the only one in the sequence or one of many
@@ -282,6 +279,10 @@ sub main{
flag_multiSSRs($fasta_out_single, $fasta_out_multi);
print "done.\n";
+ print "printing output files...";
+ create_primer_flat_files ($di_primer_out, $tri_primer_out, $tetra_primer_out);
+
+
##---------------------------------------------------------------
## Producing output - statistics
@@ -720,8 +721,8 @@ sub _print_primer_flat_files{
$SSR_STATS{$ssr_id}{LEFT_TM},
$SSR_STATS{$ssr_id}{RIGHT_TM},
$SSR_STATS{$ssr_id}{PRODUCT_SIZE},
- $SSR_STATS{$ssr_id}{SEQ},
- $SSR_STATS{$ssr_id}{SEQM}
+ #$SSR_STATS{$ssr_id}{SEQ},
+ #$SSR_STATS{$ssr_id}{SEQM}
);
}
}

0 comments on commit 1493413

Please sign in to comment.