# could you make KMC from the toolshed (available Galaxy Australia) also available in usegalaxy.eu?

**URL:** <https://help.galaxyproject.org/t/could-you-make-kmc-from-the-toolshed-available-galaxy-australia-also-available-in-usegalaxy-eu/13422>\
**Category:** usegalaxy.eu support\
**Created:** [September 12, 2024, 9:58am UTC](https://help.galaxyproject.org/t/could-you-make-kmc-from-the-toolshed-available-galaxy-australia-also-available-in-usegalaxy-eu/13422 "2024-09-12T09:58:13Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![igor](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@igor](https://help.galaxyproject.org/u/igor)\
**Post date:** [October 11, 2024, 3:24am UTC](https://help.galaxyproject.org/t/could-you-make-kmc-from-the-toolshed-available-galaxy-australia-also-available-in-usegalaxy-eu/13422/21 "2024-10-11T03:24:22Z")

</div>

Hi @bejo  
Are you after analysis of F and R reads in a single KMC Counter job? If yes, consider concatenate and merge the read files head to tail. It works on GZipped files, as well, at least the latest versions of Concatenate do.  
Hope that helps.  
Kind regards,  
Igor

---

<div class="post-metadata">

**Author:** ![bejo](https://avatars.discourse-cdn.com/v4/letter/b/bc79bd/32.png) [@bejo](https://help.galaxyproject.org/u/bejo)\
**Post date:** [October 11, 2024, 7:59am UTC](https://help.galaxyproject.org/t/could-you-make-kmc-from-the-toolshed-available-galaxy-australia-also-available-in-usegalaxy-eu/13422/22 "2024-10-11T07:59:43Z")

</div>

Hi @jennaj @igor  
I know how to upload FASTA files and merge them into a collection.

However, I am using the download function in Galaxy to retrieve sequence libraries from NCBI using “fasterq dump tool”. So you get fwd and reverse libraries paired and it would be handy and these can be parsed in parallel. (with two random FASTA files, uploaded them as “collection” and are indeed parsed together resulting a single output file).  
QUESTION: How can you manage the paired FWD and REV sequence libraries are handled as a “collection”, so you avoid the need to start 2 jobs manually?

Alternatively, I took to random fasta files. In KMC you can select both single FASTA as individual datasets (assuming KMC will handle both files separately, in one go, producing separate output files), but this runs into an error.

Finally, I would like to construct a Workflow but first I need to understand how to parse paired seq-libraries in one in KMC. Could it be a minor issue in KMC?

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [October 11, 2024, 5:30pm UTC](https://help.galaxyproject.org/t/could-you-make-kmc-from-the-toolshed-available-galaxy-australia-also-available-in-usegalaxy-eu/13422/23 "2024-10-11T17:30:04Z")

</div>

Hi @bejo

You can change the shape of your collections, and merge, split, concatenate the data inside of them.

Would this tool help?

**Concatenate multiple datasets** tail-to-head while specifying how

 ![Screen Shot 2024-10-11 at 10.27.51 AM](https://us1.discourse-cdn.com/flex020/uploads/galaxy/original/2X/0/0e6aad87e9a14d4c647f9547f9c7418b5482e560.png)

---

<div class="post-metadata">

**Author:** ![igor](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@igor](https://help.galaxyproject.org/u/igor)\
**Post date:** [October 14, 2024, 12:58am UTC](https://help.galaxyproject.org/t/could-you-make-kmc-from-the-toolshed-available-galaxy-australia-also-available-in-usegalaxy-eu/13422/24 "2024-10-14T00:58:16Z")

</div>

Hi @bejo,

As @jennaj suggested, you can manipulate the data using tools from Collection Operation section.

I noticed an issue with KMC Counter on multiple inputs and notified the owner of the wrapper. I hope the issue will be resolved in reasonable time. Currently it works only on a single file, so, for now, Concatenate is the way to go, if you are after multiple files.

On Galaxy Australia, dedicated data importing tools are very slow, imho, ~ten times slower compared to import by URL. Because of this, I do not use fasterq\_dump etc. I import reads using URLs from ENA. In this scenario I ends up with files, not a collection.

Kind regards,  
Igor

---

<div class="post-metadata">

**Author:** ![bejo](https://avatars.discourse-cdn.com/v4/letter/b/bc79bd/32.png) [@bejo](https://help.galaxyproject.org/u/bejo)\
**Post date:** [October 14, 2024, 7:05am UTC](https://help.galaxyproject.org/t/could-you-make-kmc-from-the-toolshed-available-galaxy-australia-also-available-in-usegalaxy-eu/13422/25 "2024-10-14T07:05:29Z")

</div>

Dear all, great to hear your feedback 👌

@jennaj shaping collections I was not aware off. I appreciate you indicate this to me. I am going to try this.

@igor indeed importing data seems slow, remarkably it is called “faster"q\_dump” 😄 I will try the URL option too.

---

<div class="post-metadata">

**Author:** ![bejo](https://avatars.discourse-cdn.com/v4/letter/b/bc79bd/32.png) [@bejo](https://help.galaxyproject.org/u/bejo)\
**Post date:** [November 26, 2024, 10:51am UTC](https://help.galaxyproject.org/t/could-you-make-kmc-from-the-toolshed-available-galaxy-australia-also-available-in-usegalaxy-eu/13422/26 "2024-11-26T10:51:30Z")

</div>

KMC is available for some time now. I already frequently used KMC. In github the option “complex” is another option in KMC. It would give the user other filtering options, rather than comparing two datasets with each other.

I would like to find shared kmers in a set of samples. I can also perform a chain of intersections, but that’s not that handy. According to github, the KMC function complex would do this trick as well:  
"complex operation allows to define operations for more than 2 input kmer sets.

I am wondering if this option in KMC could be made available.

---

<div class="post-metadata">

**Author:** ![bejo](https://avatars.discourse-cdn.com/v4/letter/b/bc79bd/32.png) [@bejo](https://help.galaxyproject.org/u/bejo)\
**Post date:** [November 28, 2024, 8:25am UTC](https://help.galaxyproject.org/t/could-you-make-kmc-from-the-toolshed-available-galaxy-australia-also-available-in-usegalaxy-eu/13422/27 "2024-11-28T08:25:03Z")

</div>

@igor have you seen my message about the “complex” function for KMC?

[Previous page](https://help.galaxyproject.org/t/could-you-make-kmc-from-the-toolshed-available-galaxy-australia-also-available-in-usegalaxy-eu/13422.md?page=1)
