Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kaliisto- Rna velocity #7

Open
coolmak32 opened this issue Nov 25, 2020 · 0 comments
Open

Kaliisto- Rna velocity #7

coolmak32 opened this issue Nov 25, 2020 · 0 comments

Comments

@coolmak32
Copy link

Hi, I am new to using this pipeline and I have been following the tutorial as it is provided.
I have a confusion regarding loading the matrixes. In the following tutorial (https://github.com/BUStools/getting_started/blob/master/velocity_tutorial.ipynb) in line (26) they are importing some loom file as a reference matrix. What exactly is this file. To my understanding the whole point using this kallisto pipeline is to generate loom file from spliced and unspliced matrices to generate loom file that can be fed to velocyto.

We are using the fastqs made from the BAM file of SRR6470906 and SRR6470907
In [17]:
import pandas as pd
import scanpy as sc
import numpy as np
import scipy as scp
import sklearn
import matplotlib.pyplot as plt
import matplotlib
import sys
import loompy
import scipy.optimize
import velocyto as vcy
import scvelo as scv
import glob
import pickle
import anndata

from collections import Counter
from sklearn.decomposition import PCA
from scipy.spatial.distance import pdist, squareform
from IPython.core.display import display, HTML

display(HTML("<style>.container { width:90% !important; }</style>"))
matplotlib.rcParams.update({'font.size': 22})
%matplotlib inline
%config InlineBackend.figure_format = 'retina'
Import reference matrices
In [26]:
them = scv.read('data/ForebrainGlut/hgForebrainGlut.loom', cleanup=True, sparse=True, cache=True, backup_url='http://pklab.med.harvard.edu/velocyto/hgForebrainGlut/hgForebrainGlut.loom')
them.var_names_make_unique()
Variable names are not unique. To make them unique, call .var_names_make_unique.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant