Skip to content

Commit

Permalink
Sort duplicate variants by ref and alt
Browse files Browse the repository at this point in the history
  • Loading branch information
lukfor committed Mar 2, 2024
1 parent 2d8ce94 commit 2c7671c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion modules/local/merging_variants.nf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ process MERGING_VARIANTS {
csvtk sort \
-t variants.concat.txt \
-k ID:N -k Pos:n -k Type:nr \
-k ID:N -k Pos:n -k Ref:N -k Variant:N -k Type:nr \
-T -o variants.sorted.txt
if [[ ${mode} == "fusion" ]]
Expand Down
24 changes: 12 additions & 12 deletions tests/mitocalling.nf.test.snap
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"Runs with single BAM file and mutect2": {
"content": [
"variants.annotated.txt:md5,52dc3737a73bb80cf3a1c8946990c3e4"
"variants.annotated.txt:md5,7dc0d48ba82f76bca62ed2dddbf7d7bb"
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "23.04.3"
},
"timestamp": "2024-03-02T13:11:34.901277407"
"timestamp": "2024-03-02T14:55:31.73871"
},
"Runs with 6 samples provided as testdata with mutect2": {
"content": [
"variants.annotated.txt:md5,d5bcadb427d40ffc53a118bcd9bc5aae",
"variants.annotated.txt:md5,1e00242adc88c7cb44adea0dd77c325e",
{
"tasksFailed": 0,
"tasksCount": 28,
Expand All @@ -22,17 +22,17 @@
"nf-test": "0.8.4",
"nextflow": "23.04.3"
},
"timestamp": "2024-03-02T14:11:30.627373"
"timestamp": "2024-03-02T15:00:48.608014"
},
"Runs with single BAM file and mutserve": {
"content": [
"variants.annotated.txt:md5,ee00b39fc49e1f34e6affab00368181f"
"variants.annotated.txt:md5,77be10aad2e2ba4fc50296b693e1d8e0"
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "23.04.3"
},
"timestamp": "2024-03-02T13:09:45.954385792"
"timestamp": "2024-03-02T14:53:52.048799"
},
"Runs with BAM file including different header contigs": {
"content": [
Expand All @@ -46,7 +46,7 @@
},
"Runs with two files and one goes through QC": {
"content": [
"variants.annotated.txt:md5,ef402762b03356a208583e434d96dfa3",
"variants.annotated.txt:md5,fb9b8ca4410e67f47bb2f0e4c348f908",
{
"tasksFailed": 0,
"tasksCount": 12,
Expand All @@ -57,11 +57,11 @@
"nf-test": "0.8.4",
"nextflow": "23.04.3"
},
"timestamp": "2024-03-02T14:02:05.743122"
"timestamp": "2024-03-02T14:56:19.810049"
},
"Runs with 6 samples provided as testdata with fusion": {
"content": [
"variants.annotated.txt:md5,5043504edb7e0bf5492fafb63e64daa6",
"variants.annotated.txt:md5,3a0f3b225f5618d8a3c0d7013911f876",
{
"tasksFailed": 0,
"tasksCount": 40,
Expand All @@ -72,11 +72,11 @@
"nf-test": "0.8.4",
"nextflow": "23.04.3"
},
"timestamp": "2024-03-02T14:15:40.016064"
"timestamp": "2024-03-02T15:04:51.140209"
},
"Runs with 6 samples provided as testdata with mutserve": {
"content": [
"variants.annotated.txt:md5,d383a9cb2a1f46c96770390c61002bfc",
"variants.annotated.txt:md5,c2f723faf745820f9767548dc52ee39a",
{
"tasksFailed": 0,
"tasksCount": 30,
Expand All @@ -87,6 +87,6 @@
"nf-test": "0.8.4",
"nextflow": "23.04.3"
},
"timestamp": "2024-03-02T14:08:07.908258"
"timestamp": "2024-03-02T14:57:46.95114"
}
}

0 comments on commit 2c7671c

Please sign in to comment.