MCPcopy Index your code
hub / github.com/alignoth/alignoth / test_create_plot_data_2

Function test_create_plot_data_2

src/plot.rs:1063–1079  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1061
1062 #[test]
1063 fn test_create_plot_data_2() {
1064 let len = get_fasta_length(&PathBuf::from("tests/sample_3/ref.fa"), "1").unwrap();
1065 let region = Region {
1066 target: "1".to_string(),
1067 start: 1,
1068 end: len as i64,
1069 };
1070 let result = create_plot_data(
1071 "tests/sample_3/NA12878.bam",
1072 "tests/sample_3/ref.fa",
1073 &region,
1074 500,
1075 None,
1076 0.0,
1077 );
1078 assert!(result.is_ok());
1079 }
1080
1081 #[test]
1082 fn test_create_plot_data_with_clipped_read() {

Callers

nothing calls this directly

Calls 2

get_fasta_lengthFunction · 0.85
create_plot_dataFunction · 0.85

Tested by

no test coverage detected