Skip to content

Commit

Permalink
Documentation and #18
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffhsu3 committed Jan 20, 2015
1 parent adc182d commit 296c061
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 9 additions & 3 deletions doc/source/aei.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@
Running Aellic Expression Imbalance
*********************

Running aellic expression imbalance analysis on RNA-Sequencing data.
Running aellic expression imbalance analysis on RNA-Sequencing data. Returns
a pandas dataframe pickled to a file specified by OUTPUT.

python AEI_2.py genotype_data file_to_sample_mapping.txt -o OUTPUT
.. code-block
python genda_path/scripts/aei_count.py genotype_data file_to_sample_mapping.txt -o OUTPUT
file_to_sample_mapping.txt should have the following tab-delimited format.

.. code-block
sample_name path_to_file
Sample_1 /proj/data/sample_1.bam

genotype_data is a file specificying which SNPs to count at in the 1000G VCF
type format.

At the moment the script has a lot of limitations. Tested on STAR and tophat
aligned data.
aligned bams.
2 changes: 2 additions & 0 deletions genda/stats/aei_count_samples.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ from . import *

STUFF = 'hi'

# Not correctly implemented yet

@cython.boundscheck(False)
cpdef aei_count_samples(np.ndarray[dtype_t, ndim=2] geno,
np.ndarray geno_columns,
Expand Down

0 comments on commit 296c061

Please sign in to comment.