diff --git a/misc-scripts/xref_mapping/XrefParser/FlybaseParser.pm b/misc-scripts/xref_mapping/XrefParser/FlybaseParser.pm
index 82f5bee30cbbc1c415c26f36bf12c2e84b819d75..c63fc8494151e096be482e3bf3af4fa2c124d45f 100644
--- a/misc-scripts/xref_mapping/XrefParser/FlybaseParser.pm
+++ b/misc-scripts/xref_mapping/XrefParser/FlybaseParser.pm
@@ -238,9 +238,18 @@ sub run {
             if ( exists( $xref_ids{$source_name}{$accession} ) ) {
               $xref_id = $xref_ids{$source_name}{$accession};
             } else {
-              $xref_id =
-                $self->add_xref( $accession, undef, $accession, '',
-                                 $source_id, $species_id );
+              # The Dbxref 'bdgpinsituexpr' needs case sensitivity, just
+              # like the FlyBase Names, so use the ID as the accession
+              # for this source.
+              if ( $dbxref_name eq 'bdgpinsituexpr' ) {
+                $xref_id =
+                  $self->add_xref( $id, undef, $accession, '',
+                                   $source_id, $species_id );
+              } else {
+                $xref_id =
+                  $self->add_xref( $accession, undef, $accession, '',
+                                   $source_id, $species_id );
+              }
               $xref_ids{$source_name}{$accession} = $xref_id;
             }