Skip to content

Instantly share code, notes, and snippets.

@hden
Created November 22, 2012 01:37
Show Gist options
  • Select an option

  • Save hden/4128945 to your computer and use it in GitHub Desktop.

Select an option

Save hden/4128945 to your computer and use it in GitHub Desktop.
Extract flanking sequence of a SNP (Chromosome in 2nd column, position in 4th column) output in fasta
{
"a_galaxy_workflow": "true",
"annotation": "",
"format-version": "0.1",
"name": "Extract flanking sequence (csv to fasta)",
"steps": {
"0": {
"annotation": "",
"id": 0,
"input_connections": {},
"inputs": [
{
"description": "",
"name": "Input Dataset"
}
],
"name": "Input dataset",
"outputs": [],
"position": {
"left": 200,
"top": 200
},
"tool_errors": null,
"tool_id": null,
"tool_state": "{\"name\": \"Input Dataset\"}",
"tool_version": null,
"type": "data_input",
"user_outputs": []
},
"1": {
"annotation": "",
"id": 1,
"input_connections": {
"input": {
"id": 0,
"output_name": "output"
}
},
"inputs": [],
"name": "Convert",
"outputs": [
{
"name": "out_file1",
"type": "tabular"
}
],
"position": {
"left": 420,
"top": 200
},
"post_job_actions": {},
"tool_errors": null,
"tool_id": "Convert characters1",
"tool_state": "{\"__page__\": 0, \"convert_from\": \"\\\"C\\\"\", \"chromInfo\": \"\\\"/galaxy/home/g2main/galaxy_main/tool-data/shared/ucsc/chrom/hg19.len\\\"\", \"input\": \"null\"}",
"tool_version": "1.0.0",
"type": "tool",
"user_outputs": []
},
"2": {
"annotation": "",
"id": 2,
"input_connections": {
"input": {
"id": 1,
"output_name": "out_file1"
}
},
"inputs": [],
"name": "Cut",
"outputs": [
{
"name": "out_file1",
"type": "tabular"
}
],
"position": {
"left": 640,
"top": 200
},
"post_job_actions": {},
"tool_errors": null,
"tool_id": "Cut1",
"tool_state": "{\"columnList\": \"\\\"c2,c4\\\"\", \"input\": \"null\", \"delimiter\": \"\\\"T\\\"\", \"chromInfo\": \"\\\"/galaxy/home/g2main/galaxy_main/tool-data/shared/ucsc/chrom/hg19.len\\\"\", \"__page__\": 0}",
"tool_version": "1.0.1",
"type": "tool",
"user_outputs": []
},
"3": {
"annotation": "",
"id": 3,
"input_connections": {
"input": {
"id": 2,
"output_name": "out_file1"
}
},
"inputs": [],
"name": "Compute",
"outputs": [
{
"name": "out_file1",
"type": "input"
}
],
"position": {
"left": 860,
"top": 200
},
"post_job_actions": {},
"tool_errors": null,
"tool_id": "Add_a_column1",
"tool_state": "{\"__page__\": 0, \"cond\": \"\\\"c2-200\\\"\", \"chromInfo\": \"\\\"/galaxy/home/g2main/galaxy_main/tool-data/shared/ucsc/chrom/hg19.len\\\"\", \"round\": \"\\\"yes\\\"\", \"input\": \"null\"}",
"tool_version": "1.1.0",
"type": "tool",
"user_outputs": []
},
"4": {
"annotation": "",
"id": 4,
"input_connections": {
"input": {
"id": 3,
"output_name": "out_file1"
}
},
"inputs": [],
"name": "Compute",
"outputs": [
{
"name": "out_file1",
"type": "input"
}
],
"position": {
"left": 1080,
"top": 200
},
"post_job_actions": {},
"tool_errors": null,
"tool_id": "Add_a_column1",
"tool_state": "{\"__page__\": 0, \"cond\": \"\\\"c2+200\\\"\", \"chromInfo\": \"\\\"/galaxy/home/g2main/galaxy_main/tool-data/shared/ucsc/chrom/hg19.len\\\"\", \"round\": \"\\\"yes\\\"\", \"input\": \"null\"}",
"tool_version": "1.1.0",
"type": "tool",
"user_outputs": []
},
"5": {
"annotation": "",
"id": 5,
"input_connections": {
"input": {
"id": 4,
"output_name": "out_file1"
}
},
"inputs": [],
"name": "Cut",
"outputs": [
{
"name": "out_file1",
"type": "tabular"
}
],
"position": {
"left": 1300,
"top": 200
},
"post_job_actions": {
"ChangeDatatypeActionout_file1": {
"action_arguments": {
"newtype": "interval"
},
"action_type": "ChangeDatatypeAction",
"output_name": "out_file1"
}
},
"tool_errors": null,
"tool_id": "Cut1",
"tool_state": "{\"columnList\": \"\\\"c1,c3,c4\\\"\", \"input\": \"null\", \"delimiter\": \"\\\"T\\\"\", \"chromInfo\": \"\\\"/galaxy/home/g2main/galaxy_main/tool-data/shared/ucsc/chrom/hg19.len\\\"\", \"__page__\": 0}",
"tool_version": "1.0.1",
"type": "tool",
"user_outputs": []
},
"6": {
"annotation": "",
"id": 6,
"input_connections": {
"input": {
"id": 5,
"output_name": "out_file1"
}
},
"inputs": [],
"name": "Extract Genomic DNA",
"outputs": [
{
"name": "out_file1",
"type": "input"
}
],
"position": {
"left": 1520,
"top": 200
},
"post_job_actions": {},
"tool_errors": null,
"tool_id": "Extract genomic DNA 1",
"tool_state": "{\"out_format\": \"\\\"fasta\\\"\", \"__page__\": 0, \"interpret_features\": \"\\\"yes\\\"\", \"seq_source\": \"{\\\"index_source\\\": \\\"cached\\\", \\\"__current_case__\\\": 0}\", \"input\": \"null\", \"chromInfo\": \"\\\"/galaxy/home/g2main/galaxy_main/tool-data/shared/ucsc/chrom/hg19.len\\\"\"}",
"tool_version": "2.2.2",
"type": "tool",
"user_outputs": []
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment