GithubHelp home page GithubHelp logo

midas's People

Contributors

jiahaochow avatar labomics-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lwl2000 allenlile

midas's Issues

How to choose the --act for missing modality imputation task?

Hi, I have two questions:

  1. I noticed that using --act predict_all_latent_bc can output x_bc folder which contains the imputed missing modality features. But It seems MIDAS has a mode named translate which can also impute missing modality features. If I have one batch that's only measured with RNA modality and I wanna impute its ATAC features. Which --act should I use? Can i directly use the x_bc output?
  2. If I wanna evaluate the imputed features with ground truth, can i use the outputs in x_bc folder?

Thanks.

Error in reproducing the method

Hi, I have been trying to reproduce the results of midas on Dogma dataset. I have completed the preprocessing as intructed in the docs. But when I try to run the method, I get the following error:

$ CUDA_VISIBLE_DEVICES=0 python3 run.py --exp e0 --task dogma_single_full &
$ Task: dogma_single_full
Experiment: e0
Model: default
Input feature numbers: {'atac': 27489, 'rna': 4041, 'adt': 208}
Total mini-batch size: 256, GPU number: 1, GPU mini-batch size: 256
Parameter number: 17.756 M
[0] {0}
Traceback (most recent call last):
File "run.py", line 707, in
main()
File "run.py", line 107, in main
train()
File "run.py", line 327, in train
train_data_loader_cat = get_dataloader_cat("train", train_ratio=None)
File "run.py", line 359, in get_dataloader_cat
datasets.append(MultimodalDataset(o.task, o.reference, o.data_dir, subset, split, train_ratio=train_ratio))
File "/home/vineet/UGP/midas/modules/datasets.py", line 45, in init
assert cell_nums[0] > 0 and len(set(cell_nums)) == 1,
AssertionError: Inconsistent cell numbers!

Can you explain, why I might be getting this error?

Inquiry Regarding Availability of MIDAS Software

Thank you for your fantastic design of the MIDAS software for mosaic integration and imputation of single-cell multi-modal data.

Our team is conducting a registered study on multi-modal integration; however, we are unsure whether your MIDAS software has been released yet.

We hope for your quick reply, as it would greatly aid our study.

Thanks,

How to integrate RNA+Histone modification data and RNA+ATAC data?

Hi, I met a problem when applying MIDAS to my own dataset: one batch measured with RNA+histone modafication (H3K27me3) modalities and another batch measured with RNA+ATAC modalities. I defined three modalities as input: rna, atac, and H3K27me3. Following the steps for processing atac data, I split H3K27me3 into chunks by chromosome id. But the code cannot run correctly (I can correctly reproduce the RNA+ATAC integration experiment). It seems that MIDAS only recognizes chunk inputs for 'atac' modality, although 'H3K27me3' mod is very similar 'atac' mod. On the other hand, taking the H3K27me3 feature (>100,000) as a whole will significantly increase the computational complexity.

How can I solvle this problem?

How to apply MIDAS to 10x format data?

Dear Prof. Ying

  Recently, I had the pleasure of reading your research work titled 'Mosaic integration and knowledge transfer of single-cell multimodal data with MIDAS'. The novelty and effectiveness of this work deeply attracted me. I've started trying to use MIDAS to process my mosaic data. However, after reading your tutorial, I still don't understand how to use MIDAS to analyze my data. My data are in common file formats; for example, RNA and ATAC data are in three files at 10x: barcodes.tsv, features.tsv, and matrix.mtx. Protein abundance data is in a CSV file. Can you provide a tutorial that matches this type of file format? Or perhaps a tutorial compatible with Seurat or Scanpy?"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.