-
Notifications
You must be signed in to change notification settings - Fork 1
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 #4 from pdimens/anchor
fixes and `params` script
- Loading branch information
Showing
8 changed files
with
95 additions
and
60 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
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#! /usr/bin/env bash | ||
|
||
if [[ -z "$1" ]]; then | ||
cat <<EOF | ||
Print the usage information for LepMap3/LepAnchor modules. | ||
Should be used in main project directory. | ||
Module names are case-sensitive. | ||
[usage]: params <module name> | ||
[example]: scripts/params OrderMarkers2 | ||
LepMap3 modules: | ||
- ParentCall2 | ||
- Filtering2 | ||
- SeparateChromosomes2 | ||
- JoinSingles2All | ||
- OrderMarkers2 | ||
LepAnchor modules: | ||
- Map2Bed | ||
- CleanMap | ||
- PlaceAndOrientContigs | ||
EOF | ||
exit 1 | ||
fi | ||
|
||
if [[ $1 == "Map2Bed" || $1 == "CleanMap" || $1 == "PlaceAndOrientContigs" ]]; then | ||
java -cp software/LepAnchor $1 2>&1 | ||
else | ||
java -cp software/LepMap3 $1 2>&1 | tail -n +2 | ||
fi |