Unverified Commit d442d6f8 authored by M. Haseeb's avatar M. Haseeb Committed by GitHub

Merge pull request #2 from enasequence/ENA-3842

ENA-3842
parents 61fe81f2 2309ce61
Pipeline #92385 passed with stages
in 1 minute and 50 seconds
......@@ -201,7 +201,11 @@ implements Validator<ReadsManifest, ReadsValidationResponse>
try
{
fileResult.add(ValidationMessage.info("Processing file"));
scanner.readCramFile( fileResult, rf, paired );
if (rf.getFiletype().equals(Filetype.cram)) {
scanner.readCramFile( fileResult, rf, paired );
} else {
scanner.readBamFile( fileResult, rf, paired );
}
} catch( SAMFormatException | CRAMException ex )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment