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

Pairtools split (Minor Changes and Updated test files) #5915

Closed
wants to merge 39 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
0024258
add pairtools parse
diegomics Mar 19, 2024
54da480
add Pairtools parse tool
diegomics Mar 19, 2024
9e235d2
remove xrefs
diegomics Mar 20, 2024
5fb40ba
Update tools/pairtools_parse/macros.xml
diegomics Mar 20, 2024
ded6eea
Update tools/pairtools_parse/pairtools_parse.xml
diegomics Mar 20, 2024
fbef467
Update tools/pairtools_parse/pairtools_parse.xml
diegomics Mar 20, 2024
2dfc06f
Update tools/pairtools_parse/pairtools_parse.xml
diegomics Mar 20, 2024
196fe28
Update tools/pairtools_parse/pairtools_parse.xml
diegomics Mar 20, 2024
d1d3d01
Update tools/pairtools_parse/pairtools_parse.xml
diegomics Mar 20, 2024
d419d12
Update tools/pairtools_parse/pairtools_parse.xml
diegomics Mar 20, 2024
2c733c5
update pairtools parse
diegomics Mar 22, 2024
739d393
update pairtools parse
diegomics Mar 22, 2024
8bde3bd
Fixed errors, added more options and tests for the tool
SaimMomin12 Mar 25, 2024
a4ad9af
Merge pull request #1 from SaimMomin12/diegomics/main
diegomics Mar 25, 2024
4a37625
Restructured the pairtools directory
SaimMomin12 Mar 25, 2024
ff8c27a
Merge pull request #2 from SaimMomin12/diegomics/main
diegomics Mar 25, 2024
37262e7
Reduced the size of test-data
SaimMomin12 Mar 25, 2024
bc45925
Merge pull request #3 from SaimMomin12/diegomics/main
diegomics Mar 25, 2024
1df2655
Update parse.xml
diegomics Mar 25, 2024
d8ec56a
unify sorting of arguments for better readability and use "argument='…
bgruening Mar 26, 2024
63eab71
Update parse.xml
bgruening Mar 26, 2024
82b298c
Merge branch 'galaxyproject:main' into main
diegomics Mar 26, 2024
48f9e00
Add split.xml
diegomics Mar 26, 2024
2d6a3bf
Update split.xml
diegomics Mar 26, 2024
63f9d55
add test files
diegomics Mar 26, 2024
0aebfd6
Update split.xml
diegomics Mar 26, 2024
8f4ef03
Update split.xml
diegomics Mar 27, 2024
90c8ea2
Update split.xml
diegomics Mar 27, 2024
c032b45
Update split.xml
diegomics Mar 27, 2024
637e8df
Update split.xml
diegomics Mar 27, 2024
97acf1b
Minor changes and updated test files
SaimMomin12 Mar 27, 2024
2e93e77
Updated lines_diff parameter
SaimMomin12 Mar 27, 2024
5bda2bf
Changed the output filetype to BAM
SaimMomin12 Mar 28, 2024
d27f6e9
Updated lines_diff in test
SaimMomin12 Mar 28, 2024
94f3c1b
Changed datatypes to 4dn_pairs and 4dn_pairsam for pairtools split
SaimMomin12 Apr 3, 2024
1db9fab
Updated changes as per review
SaimMomin12 Apr 4, 2024
da24256
small fixes
bgruening Apr 4, 2024
e447921
Fixed minor linting issue
SaimMomin12 Apr 5, 2024
4ad3ea6
Merge branch 'galaxyproject:main' into pairtools_split
SaimMomin12 Apr 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions tools/pairtools/split.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<tool id="pairtools_split" name="Pairtools split" version="@TOOL_VERSION@+galaxy@SUFFIX_VERSION@" profile="22.05" license="MIT">
<description>Split a pairsam file into pairs and SAM/BAM</description>
<macros>
<import>macros.xml</import>
</macros>
<expand macro="requirements"/>
<command detect_errors="exit_code"><![CDATA[
pairtools split
'$pairsam_path'
--output-pairs '$output_pairs'
--output-sam ./output.bam
--nproc-in \${GALAXY_SLOTS:-4}
--nproc-out \${GALAXY_SLOTS:-4}
]]></command>
<inputs>
<param name="pairsam_path" type="data" format="4dn_pairsam" label="Input 4dn pairsam file"/>
</inputs>
<outputs>
<data name="output_pairs" format="4dn_pairs" label="${tool.name} on ${on_string}: Output Pairs" />
<data name="output_file" format="qname_sorted.bam" from_work_dir="output.bam" label="${tool.name} on ${on_string}: Output BAM" />
</outputs>
<tests>
<!--Test default parameters-->
<test expect_num_outputs="2">
<param name="pairsam_path" value="output_dedup_pairs_markdups.pairsam"/>
<output name="output_pairs" ftype="4dn_pairs" file="output_pairs_split.pairs" lines_diff="10"/>
<output name="output_file" ftype="qname_sorted.bam" file="output_pairs_split.bam" lines_diff="20"/>
</test>
</tests>
<help><![CDATA[
**Pairtools split**

Restore a SAM/BAM file from SAM1 and SAM2 fields of a `pairsam` file. Create a `pairs` file without SAM1/SAM2 fields.

]]></help>
<expand macro="citations"/>
<expand macro="creator"/>
</tool>
Binary file added tools/pairtools/test-data/output_pairs_split.bam
Binary file not shown.
Loading
Loading