-
Notifications
You must be signed in to change notification settings - Fork 196
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 #4323 from vgteam/lr-giraffe
Long Read Giraffe
- Loading branch information
Showing
125 changed files
with
26,979 additions
and
5,394 deletions.
There are no files selected for viewing
Submodule gbwtgraph
updated
6 files
+35 −18 | include/gbwtgraph/index.h | |
+5 −6 | include/gbwtgraph/minimizer.h | |
+12 −1 | include/gbwtgraph/utils.h | |
+26 −6 | src/gbz_stats.cpp | |
+3 −6 | src/minimizer.cpp | |
+21 −30 | src/utils.cpp |
Submodule libvgio
updated
7 files
Submodule sublinear-Li-Stephens
updated
2 files
+1 −1 | src/allele.cpp | |
+1 −2 | src/haplotype_state_node.cpp |
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 |
---|---|---|
|
@@ -22,6 +22,10 @@ COMMIT_AUTHOR_EMAIL="[email protected]" | |
# We expect GITLAB_SECRET_FILE_DOCS_SSH_KEY to come in from the environment, | ||
# specifying the private deploy key we will use to get at the docs repo. | ||
|
||
# Make sure no submodules have untracked files from caching | ||
# See <https://gist.github.com/nicktoumpelis/11214362#file-repo-rinse-sh-L2> | ||
git submodule foreach --recursive git clean -xfd | ||
|
||
# Find all the submodules that Doxygen wants to look at and make sure we have | ||
# those. | ||
cat Doxyfile | grep "^INPUT *=" | cut -f2 -d'=' | tr ' ' '\n' | grep "^ *deps" | sed 's_ *\(deps/[^/]*\).*_\1_' | sort | uniq | xargs -n 1 git submodule update --init --recursive | ||
|
Submodule wiki
updated
from 9c76a6 to 0e573e
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/usr/bin/python3 | ||
# mark_secondaries.py: Mark all but the first alignment with a given name as secondary | ||
""" | ||
Mark duplicate alignments for a given read name as secondary. Useful for GraphAligner output which does not mark its secondaries. Assumes that the first alignment is the primary alignment, ignoring score. | ||
vg view -a unmarked.gam mark_secondaries.py | vg view -JaG - > marked.gam | ||
""" | ||
import sys | ||
import json | ||
|
||
|
||
def filter_json_gam(infile): | ||
""" | ||
process gam json made with vg view -a my.gam | ||
""" | ||
|
||
seen_names = set() | ||
|
||
for line in infile: | ||
gam = json.loads(line) | ||
|
||
if gam['name'] in seen_names: | ||
gam['is_secondary'] = True | ||
else: | ||
gam['is_secondary'] = False | ||
seen_names.add(gam['name']) | ||
|
||
print(json.dumps(gam)) | ||
|
||
def main(): | ||
""" | ||
Main entry point for the program. | ||
""" | ||
filter_json_gam(sys.stdin) | ||
|
||
if __name__ == "__main__" : | ||
main() | ||
|
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.
dc847a9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vg CI tests complete for merge to master. View the full report here.
16 tests passed, 0 tests failed and 0 tests skipped in 17359 seconds