Skip to content

Commit

Permalink
update env, test files, readme
Browse files Browse the repository at this point in the history
  • Loading branch information
balajtimate committed Oct 27, 2023
1 parent a810311 commit 47da31d
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ dependencies:
- mypy
- pylint
- pytest
- bedtools
- riblast
- pip:
- '-e .'
6 changes: 6 additions & 0 deletions scRNAsim_toolz/priming_site_predictor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ options:
```

Example:

RIblast usage:
```
RIblast db -i tests/priming_site_predictor/files/riblast_test_files/dbRNA_test.fa -o tests/priming_site_predictor/files/riblast_test_files/test_db
RIblast ris -i tests/priming_site_predictor/files/riblast_test_files/queryRNA_test.fa -o tests/priming_site_predictor/files/RIBlast_output_example.txt -d tests/priming_site_predictor/files/riblast_test_files/test_db
```
```
priming-site-predictor --riblast-output tests/priming_site_predictor/files/RIBlast_output_example.txt --output-filename priming_sites.gtf
```
Expand Down
9 changes: 8 additions & 1 deletion scRNAsim_toolz/sequence_extractor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,15 @@ options:
```

Example:
```
sequence-extractor --mode pre_bedtools --input-gtf-file tests/sequence_extractor/files/test.gtf --output-bed-file tests/sequence_extractor/files/output.bed
gunzip -k tests/sequence_extractor/files/human.chr1.fa.gz
bedtools getfasta -fi tests/sequence_extractor/files/human.chr1.fa -bed tests/sequence_extractor/files/output.bed -name -s -fo tests/sequence_extractor/files/output.fasta
sequence-extractor --mode post_bedtools --input-fasta-file tests/sequence_extractor/files/output.fasta --polyA-length 250 --output-file-name polyA_output.fa
sequence-extractor --mode post_bedtools --input-fasta-file tests/sequence_extractor/files/post_bedtools_test.fa --polyA-length 250 --output-file-name polyA_output.fa
```

`sequence-extractor --mode post_bedtools --input-fasta-file tests/sequence_extractor/files/post_bedtools_test.fa --polyA-length 250 --output-file-name polyA_output.fa`
## Overview

Given a gtf specification of transcript exon/intron structures and the genome sequence, construct the nucleotide sequence of the transcripts and add poly(A) tails.
Expand Down
Binary file added tests/sequence_extractor/files/human.chr1.fa.gz
Binary file not shown.
1 change: 0 additions & 1 deletion tests/sequence_extractor/files/test.gtf
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
seqname source feature start end score strand frame free_text
1 havana exon 1980 2000 . - . gene_id "GENE2"; transcript_id "TRANSCRIPT2_0"; exon_number "1"; exon_id "ENSE00001890219"; transcript_support_level "1";
1 havana exon 1900 1950 . - . gene_id "GENE2"; transcript_id "TRANSCRIPT2_0"; exon_number "2"; exon_id "ENSE00003507205"; transcript_support_level "1";
1 havana exon 1800 1850 . - . gene_id "GENE2"; transcript_id "TRANSCRIPT2_0"; exon_number "3"; exon_id "ENSE00003477500"; transcript_support_level "1";
Expand Down

0 comments on commit 47da31d

Please sign in to comment.