Giter Site home page Giter Site logo

Comments (6)

AntonJMLarsson avatar AntonJMLarsson commented on July 18, 2024 1

If your sequencing data is not dual indexed I don't recommend my software. If your experiment is single indexed with UMIs (like eg 10x) consider this software instead https://csglab.github.io/PhantomPurgeR/

from spreading-correction.

AntonJMLarsson avatar AntonJMLarsson commented on July 18, 2024

Hello,

Given that each row corresponds to a sample, the --i5 and --i7 parameters specify the cell barcode for the i5 and i7 adapters respectively. Please look in the README for an example. If your data is in the other configuration (i.e. each column is a sample), you can specify this with the --column option.

Let me know if you have any questions.

Anton

from spreading-correction.

Samaneh14 avatar Samaneh14 commented on July 18, 2024

Hi Anton,

Thanks for your answer. Yes, indeed the matrix consists cell barcodes as columns and genes as rows. I set the run command by ./unspread.py matrix.csv --column 1

However, it still gives the following:

Reading file: matrix.csv
Traceback (most recent call last):
File "./unspread.py", line 69, in
df = df.sort_values(by=[i5_index_name,i7_index_name], ascending=[False, True])
File "
/miniconda/envs/python3/lib/python3.9/site-packages/pandas/core/frame.py", line 5442, in sort_values
keys = [self._get_label_or_level_values(x, axis=axis) for x in by]
File "/miniconda/envs/python3/lib/python3.9/site-packages/pandas/core/frame.py", line 5442, in
keys = [self._get_label_or_level_values(x, axis=axis) for x in by]
File "
/miniconda/envs/python3/lib/python3.9/site-packages/pandas/core/generic.py", line 1684, in _get_label_or_level_values
raise KeyError(key)
KeyError: 'i5.index.name'

Should I adjust i5 and i7 in addition to --column 1?

Best regards
Samaneh

from spreading-correction.

AntonJMLarsson avatar AntonJMLarsson commented on July 18, 2024

Hello,
Yes, you need to change them to the actual name of the rows which have the i5 and i7 indexes.

Best,
Anton

from spreading-correction.

Samaneh14 avatar Samaneh14 commented on July 18, 2024

Dear Anton,

How may the code be adapted for the libraries with just cell barcodes and UMIs, when the i5 and i7 adapters are lacked?

Thanks in advance for your time.

Regards,
Samaneh

from spreading-correction.

Samaneh14 avatar Samaneh14 commented on July 18, 2024

If your sequencing data is not dual indexed I don't recommend my software. If your experiment is single indexed with UMIs (like eg 10x) consider this software instead https://csglab.github.io/PhantomPurgeR/

Dear Anton,

Thank you so much for the comment. Great solution.

Best regards
Samaneh

from spreading-correction.

Related Issues (6)

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.