-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a population clustering fraction cutoff argument (#39)
* Add population cutoff parameter * Clean MIPWrangler scripts * Update changelog
- Loading branch information
Showing
10 changed files
with
72 additions
and
44 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
17 changes: 12 additions & 5 deletions
17
base_resources/MIPWrangler_scripts/runMIPWranglerCurrent.sh
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 |
---|---|---|
@@ -1,11 +1,18 @@ | ||
#!/usr/bin/env bash | ||
if [[ $# -ne 2 ]]; then | ||
echo "Illegal number of parameters, needs 2 argument, 1) name of mip server number, 2) num of threads to use" | ||
exit | ||
|
||
if [[ $# -ne 3 ]]; then | ||
msg="Illegal number of parameters. Needs three arguments:\n" | ||
msg="${msg}1) The name of the MIP server number\n" | ||
msg="${msg}2) The number of threads to use\n" | ||
msg="${msg}3) The population clustering fraction cutoff." | ||
echo ${msg} >&2 | ||
exit 2 | ||
fi | ||
|
||
# Correct barcodes | ||
MIPWrangler mipBarcodeCorrectionMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipBarcodeCorrecting_run1 --allowableErrors 6 | ||
MIPWrangler mipCorrectForContamWithSameBarcodesMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipCorrectForContamWithSameBarcodes_run1 | ||
|
||
# Cluster barcodes and MIPs | ||
MIPWrangler mipClusteringMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipClustering_run1 --par /opt/resources/clustering_pars/illumina_collapseHomoploymers.pars.txt --countEndGaps | ||
MIPWrangler mipPopulationClusteringMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipPopClustering_run1 --cutoff 0 --countEndGaps | ||
#nohup MIPWrangler mav --masterDir $(realpath ./) --numThreads $2 --port $((10000+$1)) --name mip$1 & | ||
MIPWrangler mipPopulationClusteringMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipPopClustering_run1 --cutoff 0 --countEndGaps --fraccutoff $3 |
11 changes: 0 additions & 11 deletions
11
base_resources/MIPWrangler_scripts/runMIPWranglerNoCutoffCurrent.sh
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,11 +1,18 @@ | ||
#!/usr/bin/env bash | ||
if [[ $# -ne 2 ]]; then | ||
echo "Illegal number of parameters, needs 2 argument, 1) name of mip server number, 2) num of threads to use" | ||
exit | ||
|
||
if [[ $# -ne 3 ]]; then | ||
msg="Illegal number of parameters. Needs three arguments:\n" | ||
msg="${msg}1) The name of the MIP server number\n" | ||
msg="${msg}2) The number of threads to use\n" | ||
msg="${msg}3) The population clustering fraction cutoff." | ||
echo ${msg} >&2 | ||
exit 2 | ||
fi | ||
|
||
# Correct barcodes | ||
MIPWrangler mipBarcodeCorrectionMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipBarcodeCorrecting_run1 --allowableErrors 6 | ||
MIPWrangler mipCorrectForContamWithSameBarcodesMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipCorrectForContamWithSameBarcodes_run1 | ||
|
||
# Cluster barcodes and MIPs | ||
MIPWrangler mipClusteringMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipClustering_run1 --par /opt/resources/clustering_pars/illumina_swga.pars.txt --countEndGaps | ||
MIPWrangler mipPopulationClusteringMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipPopClustering_run1 --cutoff 0 --countEndGaps | ||
#nohup MIPWrangler mav --masterDir $(realpath ./) --numThreads $2 --port $((10000+$1)) --name mip$1 & |
15 changes: 11 additions & 4 deletions
15
base_resources/MIPWrangler_scripts/runMIPWranglerSwgaPop.sh
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 |
---|---|---|
@@ -1,11 +1,18 @@ | ||
#!/usr/bin/env bash | ||
if [[ $# -ne 2 ]]; then | ||
echo "Illegal number of parameters, needs 2 argument, 1) name of mip server number, 2) num of threads to use" | ||
exit | ||
|
||
if [[ $# -ne 3 ]]; then | ||
msg="Illegal number of parameters. Needs three arguments:\n" | ||
msg="${msg}1) The name of the MIP server number\n" | ||
msg="${msg}2) The number of threads to use\n" | ||
msg="${msg}3) The population clustering fraction cutoff." | ||
echo ${msg} >&2 | ||
exit 2 | ||
fi | ||
|
||
# Correct barcodes | ||
MIPWrangler mipBarcodeCorrectionMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipBarcodeCorrecting_run1 --allowableErrors 6 | ||
MIPWrangler mipCorrectForContamWithSameBarcodesMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipCorrectForContamWithSameBarcodes_run1 | ||
|
||
# Cluster barcodes and MIPs | ||
MIPWrangler mipClusteringMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipClustering_run1 --par /opt/resources/clustering_pars/illumina_swga_pop.pars.txt --countEndGaps | ||
MIPWrangler mipPopulationClusteringMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipPopClustering_run1 --cutoff 0 --countEndGaps | ||
#nohup MIPWrangler mav --masterDir $(realpath ./) --numThreads $2 --port $((10000+$1)) --name mip$1 & |
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 |
---|---|---|
@@ -1,11 +1,18 @@ | ||
#!/usr/bin/env bash | ||
if [[ $# -ne 2 ]]; then | ||
echo "Illegal number of parameters. Needs 2 arguments: 1) name of mip server number, 2) num of threads to use." >&2 | ||
|
||
if [[ $# -ne 3 ]]; then | ||
msg="Illegal number of parameters. Needs three arguments:\n" | ||
msg="${msg}1) The name of the MIP server number\n" | ||
msg="${msg}2) The number of threads to use\n" | ||
msg="${msg}3) The population clustering fraction cutoff." | ||
echo ${msg} >&2 | ||
exit 2 | ||
fi | ||
|
||
# Correct barcodes | ||
MIPWrangler mipBarcodeCorrectionMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipBarcodeCorrecting_run1 --allowableErrors 6 | ||
MIPWrangler mipCorrectForContamWithSameBarcodesMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipCorrectForContamWithSameBarcodes_run1 | ||
|
||
# Cluster barcodes and MIPs | ||
MIPWrangler mipClusteringMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipClustering_run1 --par /opt/resources/clustering_pars/illumina_collapseHomoploymers.pars.txt --countEndGaps | ||
MIPWrangler mipPopulationClusteringMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipPopClustering_run1 --cutoff 0 --countEndGaps | ||
#nohup MIPWrangler mav --masterDir $(realpath ./) --numThreads $2 --port $((10000+$1)) --name mip$1 & | ||
MIPWrangler mipPopulationClusteringMultiple --masterDir $(realpath ./) --numThreads $2 --overWriteDirs --overWriteLog --logFile mipPopClustering_run1 --cutoff 0 --countEndGaps --fraccutoff $3 |
This file was deleted.
Oops, something went wrong.
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