Permalink
Browse files

Merge pull request #2 from eernst/patch-1

Support Trinity 2.0.0+ style accessions
  • Loading branch information...
2 parents 9f73a99 + 4ccd15d commit 006bc0767626aa53d9c624faaa5847532da2a762 @brianjohnhaas brianjohnhaas committed Feb 23, 2015
Showing with 4 additions and 0 deletions.
  1. +4 −0 scripts/build_comprehensive_transcriptome.dbi
@@ -351,6 +351,10 @@ sub get_TDN_component {
elsif ($cdna_acc =~ /^(c\d+_g\d+)/) {
$component = $1;
}
+ elsif ($cdna_acc =~ /^(TR\d+\|c\d+_g\d+)/) {
+ # trinity de novo 2.0.0+ style
+ $component = $1;
+ }
else {
confess "Error, cannot extract component info from trinity de novo assembly: $cdna_acc";
}

0 comments on commit 006bc07

Please sign in to comment.