SAUCIE icon indicating copy to clipboard operation
SAUCIE copied to clipboard

Add examples

Open scriscio opened this issue 6 years ago • 0 comments

It would be nice to have examples of how to run this with sample data. I was trying to run with input.csv and cols_to_use.txt.

I tried: python ./SAUCIE-master/SAUCIE.py --input_dir ./input --output_dir ./output I get:

Finished training models and outputing data!

Except nothing is output..

If I try: python ./SAUCIE-master/SAUCIE.py --input_dir ./input --output_dir ./output --batch_correct --cluster I get:

Found 0 batch-corrected models (out of 0 total models)
Found batch correction models.

Found 0 batch-corrected files (out of 1 total files)
Outputing batch corrected data.
Starting to output 1 batch corrected files...
Training cluster model.
C:\Users\kqwt693\AppData\Local\Continuum\Anaconda3\lib\site-packages\h5py\__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Traceback (most recent call last):
  File "./SAUCIE-master/SAUCIE.py", line 359, in <module>
    train_cluster(input_files)
  File "./SAUCIE-master/SAUCIE.py", line 221, in train_cluster
    raise(ex)
  File "./SAUCIE-master/SAUCIE.py", line 202, in train_cluster
    x = get_data(inputfiles[0], sample=2)
IndexError: list index out of range

The only one that output something was:

python ./SAUCIE-master/SAUCIE.py --input_dir ./input --output_dir ./output --cluster

It would be nice to have instructions/tutorial on what to do next with this output.

scriscio avatar May 22 '18 14:05 scriscio