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
//NOTE: Before counting, please go to Analyze>>Set Scale and set the scale for image in pixels/um. Check "global" to maintain the same scale for all the images. | |
input = getDirectory("Input directory"); //Folder with images you want counted | |
output = getDirectory("Output directory"); //Folder where you want to save the new data (saves image of positive and total cells each) | |
keyword = "5HT"; //Keyword in the file names that you want (in case there are other photos in the folder) | |
suffix = ".tif"; //Works with tiff images | |
processFolder(input); | |
waitForUser("Batch Completed", "Batch Counting IHC has finished. Thank you for using!"); |
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
__author__ = "Anand M, edited to be a oncotator input friendly version by ZK Tuong" | |
''' | |
Takes output file generated by VarScan2 somatic programme and converts the formats. | |
''' | |
import argparse, math, re | |
parser = argparse.ArgumentParser( | |
description="Converts VarScan2 somatic vcf to native format and vice-versa.\nInput is automatically detected") |