forked from google/deepvariant
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update run_deepvariant with savedmodel paths
PiperOrigin-RevId: 570145106
- Loading branch information
1 parent
53f48c9
commit d05b868
Showing
3 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,7 @@ def test_basic_commands(self, model_type, use_slim_model): | |
'--outfile ' | ||
'"/tmp/deepvariant_tmp_output/call_variants_output.tfrecord.gz" ' | ||
'--examples "/tmp/deepvariant_tmp_output/[email protected]" ' | ||
'--checkpoint "/opt/models/{}/model.ckpt"'.format( | ||
'--checkpoint "/opt/models/{}"'.format( | ||
call_variants_bin, model_type.lower() | ||
), | ||
) | ||
|
@@ -156,7 +156,7 @@ def test_pacbio_basic_commands(self): | |
' "/tmp/deepvariant_tmp_output/call_variants_output.tfrecord.gz"' | ||
' --examples' | ||
' "/tmp/deepvariant_tmp_output/[email protected]"' | ||
' --checkpoint "/opt/models/pacbio/model.ckpt"' | ||
' --checkpoint "/opt/models/pacbio"' | ||
), | ||
) | ||
self.assertEqual( | ||
|
@@ -222,7 +222,7 @@ def test_ont_basic_commands(self): | |
' "/tmp/deepvariant_tmp_output/call_variants_output.tfrecord.gz"' | ||
' --examples' | ||
' "/tmp/deepvariant_tmp_output/[email protected]"' | ||
' --checkpoint "/opt/models/ont_r104/model.ckpt"' | ||
' --checkpoint "/opt/models/ont_r104"' | ||
), | ||
) | ||
self.assertEqual( | ||
|
@@ -275,7 +275,7 @@ def test_sample_name_command(self, sample_name): | |
' "/tmp/deepvariant_tmp_output/call_variants_output.tfrecord.gz"' | ||
' --examples' | ||
' "/tmp/deepvariant_tmp_output/[email protected]"' | ||
' --checkpoint "/opt/models/wgs/model.ckpt"' | ||
' --checkpoint "/opt/models/wgs"' | ||
), | ||
) | ||
self.assertEqual( | ||
|
@@ -677,7 +677,7 @@ def test_call_variants_extra_args( | |
'--outfile ' | ||
'"/tmp/deepvariant_tmp_output/call_variants_output.tfrecord.gz" ' | ||
'--examples "/tmp/deepvariant_tmp_output/[email protected]" ' | ||
'--checkpoint "/opt/models/wgs/model.ckpt" ' | ||
'--checkpoint "/opt/models/wgs" ' | ||
'%s' % expected_args, | ||
) | ||
|
||
|