forked from billkarsh/Alignment_Projects
-
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.
- Loading branch information
Showing
38 changed files
with
175 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,3 @@ | |
grep -e "ptest 30/30021022@30/30022023" S*/make.same | ||
|
||
|
||
|
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
# Purpose: | ||
# Write entry in outfile GRScales.txt having scale min,max for this layer. | ||
# | ||
# > GraRan1Lyr <xml-file> -z=i <-chn=chn> <-pct-pct> [options]. | ||
# | ||
# Required: | ||
# -chn=0 ;for example, scale channel 0 | ||
# -pct=85.0 ;for example, use 85% of forground range. | ||
# | ||
# Options: | ||
# -lrbt=0,0,-1,-1 ;calculate average intensity in this ROI | ||
|
||
|
||
GraRan1Lyr layer0_48_grn_sim_montage.xml -z=2 -chn=0 -pct=50.0 | ||
|
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 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
# Purpose: | ||
# Create script 'make.scales.sht' to submit GraRan1Lyr jobs. | ||
# | ||
# > GrayRanger <xml-file> -zmin=i -zmax=j <-chn=chn> <-pct-pct> [options]. | ||
# | ||
# Required: | ||
# -chn=0 ;for example, scale channel 0 | ||
# -pct=85.0 ;for example, use 85% of forground range. | ||
# | ||
# Options: | ||
# -lrbt=0,0,-1,-1 ;calculate average intensity in this ROI | ||
|
||
|
||
GrayRanger layer0_48_grn_sim_montage.xml -zmin=2 -zmax=2 -chn=0 -pct=50.0 | ||
|
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,17 @@ | ||
#!/bin/sh | ||
|
||
# Purpose: | ||
# Create script 'make.heq.sht' to submit HEQ1Lyr jobs. | ||
# | ||
# > HEQLayers <xml-file> <tag> -zmin=i -zmax=j <-pct=pct> [options]. | ||
# | ||
# Required: | ||
# tag ;text string like HEQ that labels output folder and tifs. | ||
# -pct=85.0 ;for example, use 85% of forground range. | ||
# | ||
# Options: | ||
# -lrbt=0,0,-1,-1 ;calculate average intensity in this ROI | ||
|
||
|
||
HEQLayers layer0_48_grn_sim_montage.xml HEQ -zmin=0 -zmax=48 -pct=99.5 | ||
|
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,21 @@ | ||
#!/bin/sh | ||
|
||
# Purpose: | ||
# List missing HEQ files. | ||
# | ||
# The input XML file can have either native or tag-modified file-paths. | ||
# In either case, we call DskExists for each image. We do not check | ||
# correctness of the XML file itself. | ||
# | ||
# > HEQVFY <xml-file> <tag> [options] | ||
# | ||
# Required: | ||
# tag ;text string like HEQ that labels output folder and tifs. | ||
# | ||
# Options: | ||
# -p=_N_ ;pattern describes context around tile ID 'N' in img name | ||
# -zmin=i -zmax=j ;restricts layer range | ||
|
||
|
||
HEQVFY Z7-119.txt HEQ -zmin=7 -zmax=119 | ||
|
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,17 @@ | ||
#!/bin/sh | ||
|
||
# Purpose: | ||
# Using same tag and Z-range as for HEQLayers, update corresponding XML | ||
# to point to the new images. | ||
# | ||
# > HEQXML <xml-file> <tag> [options] | ||
# | ||
# Required: | ||
# tag ;text string like HEQ that labels output folder and tifs. | ||
# | ||
# Options: | ||
# -zmin=i -zmax=j ;restricts layer range | ||
|
||
|
||
HEQXML Z7-119.txt HEQ -zmin=7 -zmax=119 | ||
|
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 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/sh | ||
|
||
# Purpose: | ||
# Create 'HST' directory and script 'HST/make.hst.sht' to submit Hist1 jobs. | ||
# | ||
# > HistAll <xml-file> -zmin=i -zmax=j <-chan=,,>. | ||
# | ||
# Required: | ||
# -chan=1,3 ;e.g., write histogram files for channels 1 and 3. | ||
# | ||
# Options: | ||
# none | ||
|
||
|
||
HistAll layer0_48_grn_sim_montage.xml -zmin=2 -zmax=2 -chan=1,2 | ||
|
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
|
||
# Purpose: | ||
# For one layer, create new folder TIF_tag and create scaled images there. | ||
# | ||
# > RGBM1Lyr <xml-file> <tag> -z=i <-[R,G,B]=i,pct> [options]. | ||
# | ||
# Required: | ||
# tag ;text string like RGB that labels output folder and tifs. | ||
# -R=0,85.0 ;for example, color channel-0 red using 85% of forground range. | ||
# | ||
# Options: | ||
# -spanRGB=LLL ;three-char string like LTT specifies scaling by {L=whole layer, T=ea. tile} | ||
# -lrbt=0,0,-1,-1 ;calculate average intensity in this ROI | ||
|
||
|
||
RGBM1Lyr layer0_48_grn_sim_montage.xml RGB -z=0 -R=1,99.5 -G=0,99.5 -B=2,99.5 | ||
|
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 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
|
||
# Purpose: | ||
# Create script 'make.merge.sht' to submit RGB1Lyr jobs. | ||
# | ||
# > RGBMerge <xml-file> <tag> -zmin=i -zmax=j <-[R,G,B]=i,pct> [options]. | ||
# | ||
# Required: | ||
# tag ;text string like RGB that labels output folder and tifs. | ||
# -R=0,85.0 ;for example, color channel-0 red using 85% of forground range. | ||
# | ||
# Options: | ||
# -spanRGB=LLL ;three-char string like LTT specifies scaling by {L=whole layer, T=ea. tile} | ||
# -lrbt=0,0,-1,-1 ;calculate average intensity in this ROI | ||
|
||
|
||
RGBMerge layer0_48_grn_sim_montage.xml RGB -zmin=0 -zmax=48 -R=1,99.5 -G=0,99.5 -B=2,99.5 | ||
|
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
# Build rick file for juan | ||
|
||
|
||
rm layout.txt | ||
|
||
for i in $(seq 0 99) | ||
|
@@ -13,4 +14,3 @@ done | |
|
||
rm temp.txt | ||
|
||
|
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,5 +1,6 @@ | ||
#!/bin/sh | ||
|
||
|
||
searchterm="Plate1_0/fixed_images" | ||
replaceterm="Plate1_0/TIF" | ||
inwhich="*.xml" | ||
|
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
Oops, something went wrong.