Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kenminsoo committed Jul 28, 2023
1 parent 581433c commit 8914aa6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 0 additions & 5 deletions install/export_r_packages.sh

This file was deleted.

2 changes: 1 addition & 1 deletion sRNA_fragment_P1.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
## Deduplication BAM files ##
if remove_umis_bool == True:
os.system('cd ' + working_dir + '; \
cat samples_adapters.txt | parallel --memsuspend ' + str(mem_free) + 'G -j ' + str(max_cores) + ' --progress "samtools sort --write-index -b -o sorted_{}.bam {}.bam";\
cat samples_adapters.txt | parallel --memsuspend ' + str(mem_free) + 'G -j ' + str(max_cores) + ' --progress "samtools sort --write-index -o sorted_{}.bam {}.bam";\
cat samples_adapters.txt | parallel --memsuspend ' + str(mem_free) + 'G -j ' + str(max_cores) + ' --progress "mv sorted_{}.bam {}.bam";\
cat samples_adapters.txt | parallel --memsuspend ' + str(mem_free) + 'G -j ' + str(max_cores) + ' --progress "mv sorted_{}.bam.csi {}.bam.csi";\
cat samples_adapters.txt | parallel --memsuspend ' + str(mem_free) + 'G --memfree ' + str(mem_free) + 'G -j ' + str(max_cores) + ' --progress "umi_tools dedup --method=unique --stdin={}.bam --log={}.logfile > dedup_{}.bam";\
Expand Down
2 changes: 2 additions & 0 deletions scripts/analyze_srnafrag.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,8 @@ def decode_sequence(plate):

return final_result

# Normalize with RPKM

# Obtain RNA-fold plots of all potential sources
# Given the original gtf file, merged_counts, and merged id.
def rna_fold(merged_id, gtf, ref, filtered, cluster_tab, out_dir):
Expand Down

0 comments on commit 8914aa6

Please sign in to comment.