You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: build/lib/hometools/hometools.py
+22
Original file line number
Diff line number
Diff line change
@@ -1773,6 +1773,7 @@ def pbamrc(args):
1773
1773
# END
1774
1774
1775
1775
1776
+
<<<<<<<HEAD
1776
1777
defbamrc2af(args):
1777
1778
"""
1778
1779
Reads the output of pbamrc and a corresponding VCF file and returns the allele frequencies of the alt alleles.
@@ -1813,6 +1814,8 @@ def bamrc2af(args):
1813
1814
# END
1814
1815
1815
1816
1817
+
=======
1818
+
>>>>>>>origin/master
1816
1819
defrun_ppileup(locs, out, bam, pars):
1817
1820
fromsubprocessimportPopen, PIPE
1818
1821
withopen(out, 'w') asfout:
@@ -2609,13 +2612,17 @@ def main(cmd):
2609
2612
# <editor-fold desc="BAM Commands">
2610
2613
parser_bamcov=subparsers.add_parser("bamcov", help="BAM: Get mean read-depth for chromosomes from a BAM file", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2611
2614
parser_pbamrc=subparsers.add_parser("pbamrc", help="BAM: Run bam-readcount in a parallel manner by dividing the input bed file.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2615
+
<<<<<<<HEAD
2612
2616
parser_bamrc2af=subparsers.add_parser("bamrc2af", help="BAM: Reads the output of pbamrc and a corresponding VCF file and saves the allele frequencies of the ref/alt alleles.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2617
+
=======
2618
+
>>>>>>>origin/master
2613
2619
parser_splitbam=subparsers.add_parser("splitbam", help="BAM: Split a BAM files based on TAG value. BAM file must be sorted using the TAG.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2614
2620
parser_mapbp=subparsers.add_parser("mapbp", help="BAM: For a given reference coordinate get the corresponding base and position in the reads/segments mapping the reference position", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2615
2621
parser_bam2coords=subparsers.add_parser("bam2coords", help="BAM: Convert BAM/SAM file to alignment coords", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2616
2622
parser_ppileup=subparsers.add_parser("ppileup", help="BAM: Currently it is slower than just running mpileup on 1 CPU. Might be possible to optimize later. Run samtools mpileup in parallel when pileup is required for specific positions by dividing the input bed file.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2617
2623
# </editor-fold>
2618
2624
2625
+
<<<<<<<HEAD
2619
2626
# <editor-fold desc="syri CLI">
2620
2627
parser_runsyri=subparsers.add_parser("runsyri", help=hyellow("syri: Parser to align and run syri on two genomes"),
parser_plotbar=subparsers.add_parser("pltbar", help="Plot: Generate barplot. Input: a two column file with first column as features and second column as values", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2633
2640
# </editor-fold>
2634
2641
2642
+
=======
2643
+
2644
+
## syri
2645
+
parser_runsyri=subparsers.add_parser("runsyri", help=hyellow("syri: Parser to align and run syri on two genomes"), formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2646
+
parser_syriidx=subparsers.add_parser("syriidx", help=hyellow("syri: Generates index for syri.out. Filters non-SR annotations, then bgzip, then tabix index"), formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2647
+
parser_syri2bed=subparsers.add_parser("syri2bed", help=hyellow("syri: Converts syri output to bedpe format"), formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2648
+
2649
+
## Plotting
2650
+
parser_plthist=subparsers.add_parser("plthist", help="Plot: Takes frequency output (like from uniq -c) and generates a histogram plot", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2651
+
parser_plotal=subparsers.add_parser("plotal", help="Plot: Visualise pairwise-whole genome alignments between multiple genomes", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2652
+
parser_plotbar=subparsers.add_parser("pltbar", help="Plot: Generate barplot. Input: a two column file with first column as features and second column as values", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2653
+
>>>>>>>origin/master
2635
2654
2636
2655
## Assembly graphs
2637
2656
parser_asmreads=subparsers.add_parser("asmreads", help=hyellow("GFA: For a given genomic region, get reads that constitute the corresponding assembly graph"), formatter_class=argparse.ArgumentDefaultsHelpFormatter)
0 commit comments