forked from wtsi-npg/p4
-
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.
Merge pull request wtsi-npg#242 from ces/devel
Add support for loading PacBio ccs secondary analysis BAM files
- Loading branch information
Showing
18 changed files
with
332 additions
and
48 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
Empty file.
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
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 |
---|---|---|
|
@@ -29,6 +29,7 @@ our $CELL_INDEX_TAG = 'CellIndex'; | |
our $OUTPUT_TAG = 'OutputOptions'; | ||
our $RFOLDER_TAG = 'ResultsFolder'; | ||
|
||
our $IS_CCS_TAG = 'IsCCS'; | ||
|
||
|
||
=head2 parse_file | ||
|
@@ -76,6 +77,9 @@ sub parse_file { | |
my $results_folder = | ||
$output->getElementsByTagName($prefix . $RFOLDER_TAG)->[0]->string_value; | ||
|
||
my $is_ccs = $dom->getElementsByTagName($prefix . $IS_CCS_TAG) ? | ||
$dom->getElementsByTagName($prefix . $IS_CCS_TAG)->[0]->string_value : 0; | ||
|
||
return WTSI::NPG::HTS::PacBio::Metadata->new | ||
(file_path => $file_path, | ||
instrument_name => $instrument_name, | ||
|
@@ -86,6 +90,7 @@ sub parse_file { | |
collection_number => $collection_number, | ||
cell_index => $cell_index, | ||
results_folder => $results_folder, | ||
is_ccs => $is_ccs, | ||
); | ||
} | ||
|
||
|
@@ -106,6 +111,8 @@ WTSI::NPG::HTS::PacBio::Sequel::MetaXMLParser | |
Parser for the Sequel PacBio metadata XML file(s) found in each SMRT | ||
cell subdirectory of completed run data. | ||
Some fields e.g. IsCCS are only found in XMLs running ICS version 7+. | ||
=head1 AUTHOR | ||
Guoying Qi E<lt>[email protected]E<gt> | ||
|
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
Oops, something went wrong.